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 "observable.h"
#include "gdbthread.h"
#include "thread-fsm.h"
#include "inferior.h"
Go to the source code of this file.
Classes | |
class | cli_interp |
Functions | |
static cli_interp_base * | as_cli_interp_base (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_base_on_normal_stop (struct bpstat *bs, int print_frame) |
static void | cli_base_on_signal_received (enum gdb_signal siggnal) |
static void | cli_base_on_end_stepping_range () |
static void | cli_base_on_signal_exited (enum gdb_signal siggnal) |
static void | cli_base_on_exited (int exitstatus) |
static void | cli_base_on_no_history () |
static void | cli_base_on_sync_execution_done () |
static void | cli_base_on_command_error () |
static void | cli_base_on_user_selected_context_changed (user_selected_what selection) |
static struct interp * | cli_interp_factory (const char *name) |
void | _initialize_cli_interp () |
Variables | |
struct cli_suppress_notification | cli_suppress_notification |
void _initialize_cli_interp | ( | ) |
Definition at line 439 of file cli-interp.c.
Referenced by initialize_all_files().
|
static |
Definition at line 73 of file cli-interp.c.
Referenced by cli_base_on_command_error(), cli_base_on_end_stepping_range(), cli_base_on_exited(), cli_base_on_no_history(), cli_base_on_normal_stop(), cli_base_on_signal_exited(), cli_base_on_signal_received(), cli_base_on_sync_execution_done(), and cli_base_on_user_selected_context_changed().
|
static |
Definition at line 234 of file cli-interp.c.
References as_cli_interp_base(), display_gdb_prompt(), and top_level_interpreter().
|
static |
Definition at line 162 of file cli-interp.c.
References as_cli_interp_base(), interp::interp_ui_out(), print_end_stepping_range_reason(), SWITCH_THRU_ALL_UIS, and top_level_interpreter().
|
static |
Definition at line 192 of file cli-interp.c.
References as_cli_interp_base(), interp::interp_ui_out(), print_exited_reason(), SWITCH_THRU_ALL_UIS, and top_level_interpreter().
|
static |
Definition at line 207 of file cli-interp.c.
References as_cli_interp_base(), interp::interp_ui_out(), print_no_history_reason(), SWITCH_THRU_ALL_UIS, and top_level_interpreter().
|
static |
Definition at line 122 of file cli-interp.c.
References as_cli_interp_base(), inferior_thread(), interp::interp_ui_out(), cli_suppress_notification::normal_stop, print_frame(), print_stop_event(), should_print_stop_to_console(), SWITCH_THRU_ALL_UIS, and top_level_interpreter().
|
static |
Definition at line 177 of file cli-interp.c.
References as_cli_interp_base(), interp::interp_ui_out(), print_signal_exited_reason(), SWITCH_THRU_ALL_UIS, and top_level_interpreter().
|
static |
Definition at line 147 of file cli-interp.c.
References as_cli_interp_base(), interp::interp_ui_out(), print_signal_received_reason(), SWITCH_THRU_ALL_UIS, and top_level_interpreter().
|
static |
Definition at line 222 of file cli-interp.c.
References as_cli_interp_base(), display_gdb_prompt(), and top_level_interpreter().
|
static |
Definition at line 246 of file cli-interp.c.
References as_cli_interp_base(), inferior_ptid, inferior_thread(), interp::interp_ui_out(), 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.
|
static |
Definition at line 430 of file cli-interp.c.
References name.
|
static |
Definition at line 343 of file cli-interp.c.
References current_uiout, exception_print(), execute_command(), and gdb_stderr.
Referenced by cli_interp::exec().
int should_print_stop_to_console | ( | struct interp * | console_interp, |
struct thread_info * | tp | ||
) |
Definition at line 102 of file cli-interp.c.
References BPSTAT_WHAT_STOP_NOISY, thread_fsm::command_interp, thread_info::control, thread_fsm::finished_p(), bpstat_what::main_action, thread_control_state::stop_bpstat, and thread_info::thread_fsm().
Referenced by cli_base_on_normal_stop(), and mi_on_normal_stop_1().
Definition at line 67 of file cli-interp.c.