GDB (xrefs)
|
Go to the source code of this file.
Classes | |
class | interp |
class | scoped_restore_interp |
Macros | |
#define | INTERP_CONSOLE "console" |
#define | INTERP_MI1 "mi1" |
#define | INTERP_MI2 "mi2" |
#define | INTERP_MI3 "mi3" |
#define | INTERP_MI4 "mi4" |
#define | INTERP_MI "mi" |
#define | INTERP_TUI "tui" |
#define | INTERP_INSIGHT "insight" |
Typedefs | |
typedef struct interp *(* | interp_factory_func) (const char *name) |
Functions | |
void | interp_factory_register (const char *name, interp_factory_func func) |
struct gdb_exception | interp_exec (struct interp *interp, const char *command) |
struct interp * | interp_lookup (struct ui *ui, const char *name) |
void | set_top_level_interpreter (const char *name) |
int | current_interp_named_p (const char *name) |
void | current_interp_set_logging (ui_file_up logfile, bool logging_redirect, bool debug_redirect) |
struct interp * | top_level_interpreter (void) |
struct interp * | current_interpreter (void) |
struct interp * | command_interp (void) |
void | clear_interpreter_hooks (void) |
int | interp_supports_command_editing (struct interp *interp) |
void | interp_pre_command_loop (struct interp *interp) |
void | interpreter_completer (struct cmd_list_element *ignore, completion_tracker &tracker, const char *text, const char *word) |
void clear_interpreter_hooks | ( | void | ) |
Definition at line 350 of file interps.c.
References deprecated_call_command_hook, deprecated_context_hook, deprecated_error_begin_hook, deprecated_print_frame_info_listing_hook, deprecated_query_hook, deprecated_readline_begin_hook, deprecated_readline_end_hook, deprecated_readline_hook, and deprecated_warning_hook.
Referenced by interp_set().
struct interp * command_interp | ( | void | ) |
Definition at line 304 of file interps.c.
References ui_interp_info::command_interpreter, ui_interp_info::current_interpreter, and get_current_interp_info().
Referenced by call_function_by_hand_dummy(), captured_mi_execute_command(), change_line_handler(), find_mi_interp(), finish_command(), step_1(), until_break_command(), and until_next_command().
int current_interp_named_p | ( | const char * | name | ) |
Definition at line 282 of file interps.c.
References ui_interp_info::current_interpreter, get_current_interp_info(), and interp::name().
Referenced by captured_main_1(), captured_mi_execute_command(), and read_command_lines().
void current_interp_set_logging | ( | ui_file_up | logfile, |
bool | logging_redirect, | ||
bool | debug_redirect | ||
) |
Definition at line 258 of file interps.c.
References ui_interp_info::current_interpreter, debug_redirect, get_current_interp_info(), logging_redirect, and interp::set_logging().
Referenced by handle_redirections(), and pop_output_files().
struct interp * current_interpreter | ( | void | ) |
Definition at line 441 of file interps.c.
References ui_interp_info::current_interpreter, current_ui, and get_interp_info().
Referenced by mi_cmd_gdb_exit(), mi_load_progress(), and mi_print_exception().
struct gdb_exception interp_exec | ( | struct interp * | interp, |
const char * | command | ||
) |
Definition at line 336 of file interps.c.
References ui_interp_info::command_interpreter, interp::exec(), and get_current_interp_info().
Referenced by interpreter_exec_cmd(), and mi_cmd_interpreter_exec().
void interp_factory_register | ( | const char * | name, |
interp_factory_func | func | ||
) |
Definition at line 222 of file interps.c.
References interp_add(), interp_lookup_existing(), interpreter_factories, and name.
Referenced by execute_control_command(), execute_gdb_command(), interpreter_exec_cmd(), mi_cmd_interpreter_exec(), mi_on_normal_stop_1(), scoped_restore_interp::set_interp(), and set_top_level_interpreter().
void interp_pre_command_loop | ( | struct interp * | interp | ) |
Definition at line 317 of file interps.c.
References interp::pre_command_loop().
Referenced by captured_command_loop(), and new_ui_command().
int interp_supports_command_editing | ( | struct interp * | interp | ) |
Definition at line 327 of file interps.c.
References interp::supports_command_editing().
Referenced by change_line_handler().
void interpreter_completer | ( | struct cmd_list_element * | ignore, |
completion_tracker & | tracker, | ||
const char * | text, | ||
const char * | word | ||
) |
Definition at line 414 of file interps.c.
References completion_tracker::add_completion(), interpreter_factories, make_completion_match_str(), and interp::name().
Referenced by init_main().
void set_top_level_interpreter | ( | const char * | name | ) |
Definition at line 246 of file interps.c.
References current_ui, interp_lookup(), interp_set(), and name.
Referenced by captured_main_1(), and new_ui_command().
struct interp * top_level_interpreter | ( | void | ) |
Definition at line 431 of file interps.c.
References get_current_interp_info(), and ui_interp_info::top_level_interpreter.
Referenced by captured_command_loop(), change_line_handler(), 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(), cli_base_on_user_selected_context_changed(), decode_line_full(), find_mi_interp(), info_sharedlibrary_command(), mi_breakpoint_created(), mi_breakpoint_deleted(), mi_breakpoint_modified(), mi_command_param_changed(), mi_execute_command_input_handler(), mi_inferior_added(), mi_inferior_appeared(), mi_inferior_exit(), mi_inferior_removed(), mi_memory_changed(), mi_new_thread(), mi_on_command_error(), mi_on_normal_stop(), mi_on_normal_stop_1(), mi_on_resume(), mi_on_sync_execution_done(), mi_output_running(), mi_record_changed(), mi_solib_loaded(), mi_solib_unloaded(), mi_thread_exit(), mi_traceframe_changed(), mi_tsv_created(), mi_tsv_deleted(), mi_tsv_modified(), mi_user_selected_context_changed(), new_ui_command(), pager_file::puts(), and tui_enable().