|
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_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) |
| void | interp_add (struct ui *ui, struct interp *interp) |
| struct interp * | interp_lookup (struct ui *ui, const char *name) |
| void | set_top_level_interpreter (const char *name) |
| struct ui_out * | interp_ui_out (struct interp *interp) |
| const char * | interp_name (struct interp *interp) |
| int | current_interp_named_p (const char *name) |
| void | current_interp_set_logging (ui_file_up logfile, bool logging_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) |
| #define INTERP_CONSOLE "console" |
Definition at line 170 of file interps.h.
Referenced by _initialize_cli_interp(), _initialize_tui_interp(), as_cli_interp(), captured_main_1(), captured_mi_execute_command(), execute_control_command(), main(), mi_on_normal_stop_1(), and read_command_lines().
| #define INTERP_INSIGHT "insight" |
Definition at line 176 of file interps.h.
Referenced by captured_main_1().
| #define INTERP_MI "mi" |
Definition at line 174 of file interps.h.
Referenced by _initialize_mi_interp(), captured_mi_execute_command(), mi_interp::init(), and mi_load_progress().
| #define INTERP_MI1 "mi1" |
Definition at line 171 of file interps.h.
Referenced by _initialize_mi_interp(), captured_main_1(), captured_mi_execute_command(), mi_interp::init(), and mi_load_progress().
| #define INTERP_MI2 "mi2" |
Definition at line 172 of file interps.h.
Referenced by _initialize_mi_interp(), captured_mi_execute_command(), mi_interp::init(), and mi_load_progress().
| #define INTERP_MI3 "mi3" |
Definition at line 173 of file interps.h.
Referenced by _initialize_mi_interp(), captured_mi_execute_command(), mi_interp::init(), and mi_load_progress().
| #define INTERP_TUI "tui" |
Definition at line 175 of file interps.h.
Referenced by _initialize_tui_interp(), as_tui_interp(), captured_main_1(), and tui_enable().
| void clear_interpreter_hooks | ( | void | ) |
Definition at line 374 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_target_wait_hook, and deprecated_warning_hook.
Referenced by interp_set(), and mi_interp::resume().
| struct interp* command_interp | ( | void | ) |
Definition at line 321 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 299 of file interps.c.
References ui_interp_info::current_interpreter, get_current_interp_info(), interp_name(), and interp::name.
Referenced by captured_main_1(), captured_mi_execute_command(), mi_load_progress(), and read_command_lines().
| void current_interp_set_logging | ( | ui_file_up | logfile, |
| bool | logging_redirect | ||
| ) |
Definition at line 267 of file interps.c.
References ui_interp_info::current_interpreter, 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 459 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().
Definition at line 128 of file interps.c.
References gdb_assert, get_interp_info(), ui_interp_info::interp_list, interp_lookup_existing(), interp::name, and interp::next.
Referenced by interp_lookup().
| struct gdb_exception interp_exec | ( | struct interp * | interp, |
| const char * | command | ||
| ) |
Definition at line 353 of file interps.c.
References ui_interp_info::command_interpreter, interp::exec(), get_current_interp_info(), and interp::interp().
Referenced by interpreter_exec_cmd(), and mi_cmd_interpreter_exec().
| void interp_factory_register | ( | const char * | name, |
| interp_factory_func | func | ||
| ) |
Definition at line 111 of file interps.c.
References _, func, internal_error(), interpreter_factories, and name.
Referenced by _initialize_cli_interp(), _initialize_mi_interp(), and _initialize_tui_interp().
Definition at line 219 of file interps.c.
References interp::interp(), 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().
| const char* interp_name | ( | struct interp * | interp | ) |
Definition at line 292 of file interps.c.
References interp::name.
Referenced by as_cli_interp(), as_tui_interp(), current_interp_named_p(), darwin_solib_get_all_image_info_addr_at_init(), enable_break(), mi_interp::init(), tui_enable(), and scoped_restore_interp::~scoped_restore_interp().
| void interp_pre_command_loop | ( | struct interp * | interp | ) |
Definition at line 334 of file interps.c.
References gdb_assert, and interp::pre_command_loop().
Referenced by captured_command_loop(), and new_ui_command().
| int interp_supports_command_editing | ( | struct interp * | interp | ) |
Definition at line 344 of file interps.c.
References interp::supports_command_editing().
Referenced by change_line_handler().
Definition at line 257 of file interps.c.
References ui_interp_info::current_interpreter, get_current_interp_info(), and interp::interp_ui_out().
Referenced by as_mi_interp(), decode_line_full(), execute_control_command(), execute_gdb_command(), fputs_maybe_filtered(), info_sharedlibrary_command(), mi_command_param_changed(), mi_execute_command(), mi_memory_changed(), mi_on_normal_stop_1(), mi_print_breakpoint_for_event(), mi_solib_loaded(), mi_solib_unloaded(), mi_tsv_modified(), and mi_user_selected_context_changed().
| void interpreter_completer | ( | struct cmd_list_element * | ignore, |
| completion_tracker & | tracker, | ||
| const char * | text, | ||
| const char * | word | ||
| ) |
Definition at line 432 of file interps.c.
References completion_tracker::add_completion(), interpreter_factories, make_completion_match_str(), and interp::name.
Referenced by _initialize_interpreter(), and init_main().
| void set_top_level_interpreter | ( | const char * | name | ) |
Definition at line 243 of file interps.c.
References _, current_ui, error(), interp_lookup(), interp_set(), and name.
Referenced by captured_main_1(), and new_ui_command().
| struct interp* top_level_interpreter | ( | void | ) |
Definition at line 449 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_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(), decode_line_full(), find_mi_interp(), fputs_maybe_filtered(), info_sharedlibrary_command(), mi_breakpoint_created(), mi_breakpoint_deleted(), mi_breakpoint_modified(), mi_command_param_changed(), mi_execute_command(), 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_normal_stop(), mi_on_normal_stop_1(), mi_on_resume(), mi_on_sync_execution_done(), mi_output_running_pid(), 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(), tui_enable(), tui_on_command_error(), tui_on_end_stepping_range(), tui_on_exited(), tui_on_no_history(), tui_on_normal_stop(), tui_on_signal_exited(), tui_on_signal_received(), tui_on_sync_execution_done(), and tui_on_user_selected_context_changed().
1.8.14