|
GDB (xrefs)
|
#include "defs.h"#include "cli-interp.h"#include "interps.h"#include "event-top.h"#include "ui-out.h"#include "cli-out.h"#include "top.h"#include "infrun.h"#include "observer.h"#include "gdbthread.h"#include "thread-fsm.h"Go to the source code of this file.
Classes | |
| class | cli_interp |
| struct | saved_output_files |
Functions | |
| static struct cli_interp * | as_cli_interp (struct interp *interp) |
| static struct gdb_exception | safe_execute_command (struct ui_out *uiout, const char *command, int from_tty) |
| int | should_print_stop_to_console (struct interp *console_interp, struct thread_info *tp) |
| static void | cli_on_normal_stop (struct bpstats *bs, int print_frame) |
| static void | cli_on_signal_received (enum gdb_signal siggnal) |
| static void | cli_on_end_stepping_range (void) |
| static void | cli_on_signal_exited (enum gdb_signal siggnal) |
| static void | cli_on_exited (int exitstatus) |
| static void | cli_on_no_history (void) |
| static void | cli_on_sync_execution_done (void) |
| static void | cli_on_command_error (void) |
| static void | cli_on_user_selected_context_changed (user_selected_what selection) |
| static struct interp * | cli_interp_factory (const char *name) |
| void | _initialize_cli_interp (void) |
Variables | |
| struct cli_suppress_notification | cli_suppress_notification |
| static saved_output_files | saved_output |
| void _initialize_cli_interp | ( | void | ) |
Definition at line 459 of file cli-interp.c.
References cli_interp_factory(), cli_on_command_error(), cli_on_end_stepping_range(), cli_on_exited(), cli_on_no_history(), cli_on_normal_stop(), cli_on_signal_exited(), cli_on_signal_received(), cli_on_sync_execution_done(), cli_on_user_selected_context_changed(), INTERP_CONSOLE, interp_factory_register(), observer_attach_command_error(), observer_attach_end_stepping_range(), observer_attach_exited(), observer_attach_no_history(), observer_attach_normal_stop(), observer_attach_signal_exited(), observer_attach_signal_received(), observer_attach_sync_execution_done(), and observer_attach_user_selected_context_changed().
|
static |
Definition at line 74 of file cli-interp.c.
References interp::interp(), INTERP_CONSOLE, and interp_name().
Referenced by cli_on_command_error(), cli_on_end_stepping_range(), cli_on_exited(), cli_on_no_history(), cli_on_normal_stop(), cli_on_signal_exited(), cli_on_signal_received(), cli_on_sync_execution_done(), and cli_on_user_selected_context_changed().
|
static |
Definition at line 451 of file cli-interp.c.
References name.
Referenced by _initialize_cli_interp().
|
static |
Definition at line 240 of file cli-interp.c.
References as_cli_interp(), display_gdb_prompt(), and top_level_interpreter().
Referenced by _initialize_cli_interp().
|
static |
Definition at line 163 of file cli-interp.c.
References as_cli_interp(), cli_interp::cli_uiout, print_end_stepping_range_reason(), SWITCH_THRU_ALL_UIS, and top_level_interpreter().
Referenced by _initialize_cli_interp().
|
static |
Definition at line 195 of file cli-interp.c.
References as_cli_interp(), cli_interp::cli_uiout, print_exited_reason(), SWITCH_THRU_ALL_UIS, and top_level_interpreter().
Referenced by _initialize_cli_interp().
|
static |
Definition at line 211 of file cli-interp.c.
References as_cli_interp(), cli_interp::cli_uiout, print_no_history_reason(), SWITCH_THRU_ALL_UIS, and top_level_interpreter().
Referenced by _initialize_cli_interp().
|
static |
Definition at line 124 of file cli-interp.c.
References as_cli_interp(), cli_interp::cli_uiout, inferior_thread(), print_frame(), print_stop_event(), should_print_stop_to_console(), SWITCH_THRU_ALL_UIS, and top_level_interpreter().
Referenced by _initialize_cli_interp().
|
static |
Definition at line 179 of file cli-interp.c.
References as_cli_interp(), cli_interp::cli_uiout, print_signal_exited_reason(), SWITCH_THRU_ALL_UIS, and top_level_interpreter().
Referenced by _initialize_cli_interp().
|
static |
Definition at line 147 of file cli-interp.c.
References as_cli_interp(), cli_interp::cli_uiout, print_signal_received_reason(), SWITCH_THRU_ALL_UIS, and top_level_interpreter().
Referenced by _initialize_cli_interp().
|
static |
Definition at line 227 of file cli-interp.c.
References as_cli_interp(), display_gdb_prompt(), and top_level_interpreter().
Referenced by _initialize_cli_interp().
|
static |
Definition at line 253 of file cli-interp.c.
References as_cli_interp(), cli_interp::cli_uiout, find_thread_ptid(), inferior_ptid, print_selected_inferior(), print_selected_thread_frame(), SWITCH_THRU_ALL_UIS, top_level_interpreter(), cli_suppress_notification::user_selected_context, USER_SELECTED_FRAME, USER_SELECTED_INFERIOR, and USER_SELECTED_THREAD.
Referenced by _initialize_cli_interp().
|
static |
Definition at line 355 of file cli-interp.c.
References CATCH, current_uiout, END_CATCH, exception_none, exception_print(), execute_command(), gdb_stderr, RETURN_MASK_ALL, and TRY.
Referenced by cli_interp::exec().
| int should_print_stop_to_console | ( | struct interp * | console_interp, |
| struct thread_info * | tp | ||
| ) |
Definition at line 105 of file cli-interp.c.
References BPSTAT_WHAT_STOP_NOISY, thread_fsm::command_interp, thread_info::control, bpstat_what::main_action, thread_control_state::stop_bpstat, thread_info::thread_fsm, and thread_fsm_finished_p().
Referenced by cli_on_normal_stop(), mi_on_normal_stop_1(), and tui_on_normal_stop().
Definition at line 65 of file cli-interp.c.
|
static |
Definition at line 402 of file cli-interp.c.
Referenced by cli_interp_base::set_logging().
1.8.14