GDB (xrefs)
|
Go to the source code of this file.
Classes | |
struct | interp_procs |
Macros | |
#define | INTERP_CONSOLE "console" |
#define | INTERP_MI1 "mi1" |
#define | INTERP_MI2 "mi2" |
#define | INTERP_MI3 "mi3" |
#define | INTERP_MI "mi" |
#define | INTERP_TUI "tui" |
#define | INTERP_INSIGHT "insight" |
Typedefs | |
typedef void *( | interp_init_ftype) (struct interp *self, int top_level) |
typedef int( | interp_resume_ftype) (void *data) |
typedef int( | interp_suspend_ftype) (void *data) |
typedef void( | interp_command_loop_ftype) (void *data) |
typedef struct ui_out *( | interp_ui_out_ftype) (struct interp *self) |
typedef int( | interp_set_logging_ftype) (struct interp *self, int start_log, struct ui_file *out, struct ui_file *logfile) |
Variables | |
int | interpreter_async |
#define INTERP_CONSOLE "console" |
Definition at line 108 of file interps.h.
Referenced by _initialize_cli_interp(), _initialize_tui_interp(), captured_main(), main(), and read_command_lines().
#define INTERP_INSIGHT "insight" |
Definition at line 114 of file interps.h.
Referenced by captured_main().
#define INTERP_MI "mi" |
Definition at line 112 of file interps.h.
Referenced by _initialize_mi_interp(), captured_mi_execute_command(), mi_interpreter_init(), and mi_load_progress().
#define INTERP_MI1 "mi1" |
Definition at line 109 of file interps.h.
Referenced by _initialize_mi_interp(), captured_main(), captured_mi_execute_command(), mi_interpreter_init(), and mi_load_progress().
#define INTERP_MI2 "mi2" |
Definition at line 110 of file interps.h.
Referenced by _initialize_mi_interp(), captured_mi_execute_command(), mi_interpreter_init(), and mi_load_progress().
#define INTERP_MI3 "mi3" |
Definition at line 111 of file interps.h.
Referenced by _initialize_mi_interp(), captured_mi_execute_command(), mi_interpreter_init(), and mi_load_progress().
#define INTERP_TUI "tui" |
Definition at line 113 of file interps.h.
Referenced by _initialize_tui_interp(), captured_main(), and tui_enable().
void clear_interpreter_hooks | ( | void | ) |
Definition at line 363 of file interps.c.
References deprecated_call_command_hook, deprecated_context_hook, deprecated_error_begin_hook, deprecated_interactive_hook, deprecated_print_frame_info_listing_hook, deprecated_query_hook, deprecated_readline_begin_hook, deprecated_readline_end_hook, deprecated_readline_hook, deprecated_register_changed_hook, deprecated_target_wait_hook, and deprecated_warning_hook.
Referenced by interp_set(), and mi_interpreter_resume().
struct interp* command_interp | ( | void | ) |
Definition at line 303 of file interps.c.
References command_interpreter, and current_interpreter.
Referenced by find_mi_interpreter(), follow_fork(), and proceed().
void current_interp_command_loop | ( | void | ) |
Definition at line 313 of file interps.c.
References interp_procs::command_loop_proc, interp::data, gdb_assert, and interp::procs.
Referenced by captured_command_loop().
Definition at line 280 of file interps.c.
References interp::name.
Referenced by captured_main(), captured_mi_execute_command(), mi_load_progress(), and read_command_lines().
Definition at line 238 of file interps.c.
References interp::procs, and interp_procs::set_logging_proc.
Referenced by handle_redirections(), pop_output_files(), and set_logging_redirect().
void interp_add | ( | struct interp * | interp | ) |
Definition at line 105 of file interps.c.
References gdb_assert, interp_list, interp_lookup(), interp::name, and interp::next.
Referenced by _initialize_cli_interp(), _initialize_mi_interp(), and _initialize_tui_interp().
void* interp_data | ( | struct interp * | interp | ) |
Definition at line 265 of file interps.c.
References interp::data.
Referenced by mi_interp_data(), mi_set_logging(), and mi_ui_out().
struct gdb_exception interp_exec | ( | struct interp * | interp, |
const char * | command | ||
) |
Definition at line 342 of file interps.c.
References command_interpreter, and gdb_assert.
Referenced by interpreter_exec_cmd(), and mi_cmd_interpreter_exec().
struct gdb_exception() interp_exec_ftype | ( | void * | data, |
const char * | command | ||
) |
Definition at line 210 of file interps.c.
References interp::name, and interp::next.
Referenced by captured_main(), interp_add(), interp_set_temp(), interpreter_exec_cmd(), and mi_cmd_interpreter_exec().
Definition at line 273 of file interps.c.
References interp::name.
Referenced by darwin_solib_get_all_image_info_addr_at_init(), enable_break(), mi_interpreter_init(), restore_interp(), and tui_enable().
struct interp* interp_new | ( | const char * | name, |
const struct interp_procs * | procs | ||
) |
Definition at line 84 of file interps.c.
References interp_procs::command_loop_proc, interp::data, gdb_assert, interp::inited, interp::name, interp::procs, and interp::quiet_p.
Referenced by _initialize_cli_interp(), _initialize_mi_interp(), and _initialize_tui_interp().
Definition at line 321 of file interps.c.
References interp::quiet_p.
Referenced by cli_on_command_error(), cli_on_end_stepping_range(), cli_on_exited(), cli_on_no_history(), cli_on_signal_exited(), cli_on_signal_received(), cli_on_sync_execution_done(), interp_set(), tui_on_command_error(), tui_on_end_stepping_range(), tui_on_exited(), tui_on_no_history(), tui_on_signal_exited(), tui_on_signal_received(), and tui_on_sync_execution_done().
Definition at line 128 of file interps.c.
References _, clear_interpreter_hooks(), current_interpreter, current_uiout, interp::data, error(), first_time, gdb_assert, interp_procs::init_proc, interp::inited, internal_error(), interp_quiet_p(), interp_set(), interpreter_p, interp::name, interp::procs, interp_procs::resume_proc, interp_procs::suspend_proc, ui_out_flush(), interp_procs::ui_out_proc, ui_out_text(), xfree(), and xsnprintf().
Referenced by captured_main(), interp_set(), and interpreter_exec_cmd().
Definition at line 252 of file interps.c.
References current_interpreter, and interp_lookup().
Referenced by read_command_lines(), and restore_interp().
Definition at line 229 of file interps.c.
References interp::procs, and interp_procs::ui_out_proc.
Referenced by decode_line_full(), find_mi_interpreter(), fputs_maybe_filtered(), info_sharedlibrary_command(), mi_breakpoint_created(), mi_breakpoint_modified(), mi_command_param_changed(), mi_execute_command(), mi_memory_changed(), mi_on_normal_stop(), mi_solib_loaded(), mi_solib_unloaded(), and mi_tsv_modified().
struct interp* top_level_interpreter | ( | void | ) |
Definition at line 476 of file interps.c.
References top_level_interpreter_ptr.
Referenced by decode_line_full(), find_mi_interpreter(), fputs_maybe_filtered(), info_sharedlibrary_command(), mi_breakpoint_created(), mi_breakpoint_modified(), mi_command_param_changed(), mi_execute_command(), mi_memory_changed(), mi_on_normal_stop(), mi_solib_loaded(), mi_solib_unloaded(), mi_tsv_modified(), and tui_enable().
void* top_level_interpreter_data | ( | void | ) |
Definition at line 482 of file interps.c.
References interp::data, and gdb_assert.
Referenced by mi_breakpoint_created(), mi_breakpoint_deleted(), mi_breakpoint_modified(), mi_command_param_changed(), mi_execute_command(), mi_inferior_added(), mi_inferior_appeared(), mi_inferior_exit(), mi_inferior_removed(), mi_memory_changed(), mi_new_thread(), mi_on_normal_stop(), mi_record_changed(), mi_solib_loaded(), mi_solib_unloaded(), mi_thread_exit(), mi_traceframe_changed(), mi_tsv_created(), mi_tsv_deleted(), and mi_tsv_modified().
int interpreter_async |
Definition at line 46 of file interps.c.
Referenced by bpstat_do_actions_1(), captured_command_loop(), compile_code_command(), compile_file_command(), compile_print_command(), execute_command_to_string(), execute_gdb_command(), execute_user_command(), fetch_inferior_event(), if_command(), inferior_event_handler(), ioscm_with_output_to_port_worker(), maybe_wait_sync_command_done(), python_command(), python_interactive_command(), reinstall_readline_callback_handler_cleanup(), script_from_file(), and while_command().