GDB (xrefs)
|
Go to the source code of this file.
Functions | |
void | print_gdb_version (struct ui_file *stream, bool interactive) |
void | print_gdb_configuration (struct ui_file *) |
void | read_command_file (FILE *) |
void | init_history (void) |
void | command_loop (void) |
int | quit_confirm (void) |
void | quit_force (int *, int) ATTRIBUTE_NORETURN |
void | quit_command (const char *, int) |
void | quit_cover (void) |
void | execute_command (const char *, int) |
void | maybe_wait_sync_command_done (int was_sync) |
void | wait_sync_command_done (void) |
void | check_frame_language_change (void) |
scoped_value_mark | prepare_execute_command (void) |
const std::string & | get_prompt () |
void | set_prompt (const char *s) |
int | gdb_in_secondary_prompt_p (struct ui *ui) |
void | gdb_init () |
void | gdb_add_history (const char *) |
void | show_commands (const char *args, int from_tty) |
void | set_verbose (const char *, int, struct cmd_list_element *) |
const char * | handle_line_of_input (std::string &cmd_line_buffer, const char *rl, int repeat, const char *annotation_suffix) |
bool | check_quiet_mode () |
void | unbuffer_stream (FILE *stream) |
Variables | |
bool | confirm |
int | inhibit_gdbinit |
auto_boolean | interactive_mode |
int | source_line_number |
std::string | source_file_name |
bool | history_expansion_p |
bool | server_command |
char * | lim_at_start |
|
extern |
Definition at line 372 of file top.c.
References current_language, deprecated_safe_get_selected_frame(), expected_language, gdb_printf(), get_frame_language(), has_stack_frames(), info_verbose, language_defn::la_language, lang_frame_mismatch_warn, language_info(), language_mode_auto, and language_unknown.
Referenced by execute_command(), and inferior_event_handler().
|
extern |
|
extern |
|
extern |
Definition at line 459 of file top.c.
Referenced by execute_command_to_string(), execute_command_to_string(), and execute_command_to_ui_file().
|
extern |
Definition at line 1120 of file top.c.
References command_count, and history_remove_duplicates.
Referenced by handle_line_of_input().
|
extern |
Definition at line 942 of file top.c.
References ui::secondary_prompt_depth.
Referenced by check_curr_ui_sync_execution_done(), tui_inject_newline_into_command_window(), tui_redisplay_readline(), and tui_rl_startup_hook().
|
extern |
Definition at line 2303 of file top.c.
References current_language, expected_language, gdb_init_signals(), init_main(), init_page_info(), initialize_all_files(), initialize_current_architecture(), initialize_inferiors(), initialize_progspace(), initialize_stdin_serial(), language_c, previous_saved_command_line, saved_command_line, set_initial_gdb_ttystate(), and set_language().
Referenced by captured_main_1().
|
extern |
|
extern |
Definition at line 605 of file event-top.c.
References annotation_level, command_line_append_input_line(), complete(), current_ui, gdb_add_history(), get_saved_command_line(), history_expansion_p, ui::input_interactive_p(), ui::instream, printf_unfiltered(), save_command_line(), server_command, SERVER_COMMAND_PREFIX, and ui::stdin_stream.
Referenced by command_line_handler(), and command_line_input().
|
extern |
Definition at line 1977 of file top.c.
References history_filename, history_size_setshow_var, set_readline_history_size(), and cmd_list_element::var.
Referenced by captured_main_1().
|
extern |
Definition at line 435 of file top.c.
References ui::async, current_ui, PROMPT_BLOCKED, ui::prompt_state, and wait_sync_command_done().
Referenced by catch_command_errors(), and execute_command().
|
extern |
Definition at line 356 of file top.c.
References non_stop, and target_dcache_invalidate().
Referenced by execute_command(), and mi_cmd_execute().
|
extern |
Definition at line 1393 of file top.c.
References AUTO_LOAD_DIR, AUTO_LOAD_SAFE_PATH, DEBUGDIR, DEBUGDIR_RELOCATABLE, GDB_DATADIR, GDB_DATADIR_RELOCATABLE, gdb_printf(), host_name, JIT_READER_DIR, JIT_READER_DIR_RELOCATABLE, PYTHON_LIBDIR_RELOCATABLE, PYTHON_PATH_RELOCATABLE, SYSTEM_GDBINIT, SYSTEM_GDBINIT_DIR, SYSTEM_GDBINIT_DIR_RELOCATABLE, SYSTEM_GDBINIT_RELOCATABLE, target_name, TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_RELOCATABLE, WITH_PYTHON_LIBDIR, and WITH_PYTHON_PATH.
Referenced by captured_main_1(), and show_configuration().
|
extern |
Definition at line 1321 of file top.c.
References file_name_style, gdb_printf(), host_name, PKGVERSION, REPORT_BUGS_TO, cli_style_option::style(), styled_string(), target_name, version, and version_style.
Referenced by captured_main_1(), and show_version().
|
extern |
Definition at line 477 of file cli-cmds.c.
References exception_print(), gdb_stderr, parse_and_eval(), query_if_trace_running(), quit_confirm(), quit_force(), and value_as_long().
Referenced by captured_command_loop(), and stdin_event_handler().
|
extern |
Definition at line 1689 of file top.c.
References all_inferiors(), string_file::c_str(), have_live_inferiors(), print_inferior_quit_action(), ui_file::puts(), and query().
Referenced by quit_command().
|
extern |
|
extern |
Definition at line 1732 of file top.c.
References all_inferiors(), all_uis(), check_quit_flag(), disconnect_tracing(), exception_print(), finalize_values(), gdb::observers::gdb_exiting, gdb_safe_append_history(), gdb_stderr, history_filename, ui::input_interactive_p(), kill_or_detach(), return_child_result, return_child_result_value, sync_quit_force_run, undo_terminal_modifications_before_exit(), and write_history_p.
Referenced by async_sigterm_handler(), bpfinishpy_init(), captured_main(), captured_main_1(), catch_command_errors(), gdbpy_convert_exception(), gdbpy_lookup_static_symbol(), gdbpy_readline_wrapper(), gdbscm_value_address(), gdbscm_wrap(), mi_cmd_gdb_exit(), mi_execute_command(), ppscm_pretty_print_one_value(), quit_command(), tyscm_type_name(), and valpy_get_address().
|
extern |
Definition at line 322 of file top.c.
References command_handler(), command_line_input(), current_ui, ui::instream, and unbuffer_stream().
Referenced by script_from_file().
|
extern |
|
extern |
Definition at line 1945 of file top.c.
References CMD_LIST_AMBIGUOUS, cmd_list_element::doc, cmd_list_element::doc_allocated, info_verbose, lookup_cmd_1(), showlist, and xfree().
|
extern |
Definition at line 1861 of file top.c.
References gdb_printf(), Hist_print, ui::num, parse_and_eval_long(), and set_repeat_arguments().
|
extern |
Definition at line 261 of file top.c.
References ISATTY.
Referenced by read_command_file(), and ui::ui().
|
extern |
Definition at line 414 of file top.c.
References current_ui, enable, PROMPT_BLOCKED, and ui::prompt_state.
Referenced by maybe_wait_sync_command_done(), and run_inferior_call().
|
extern |
Definition at line 134 of file top.c.
Referenced by ATTRIBUTE_PRINTF(), ATTRIBUTE_PRINTF(), and init_main().
|
extern |
Definition at line 843 of file top.c.
Referenced by handle_line_of_input(), and init_main().
|
extern |
Definition at line 129 of file top.c.
Referenced by _initialize_check_for_gdb_ini(), and captured_main_1().
|
extern |
Definition at line 1831 of file top.c.
Referenced by init_main(), ui::input_interactive_p(), and show_interactive_mode().
|
extern |
|
extern |
Definition at line 173 of file top.c.
Referenced by ATTRIBUTE_PRINTF(), breakpoint_1(), dont_repeat(), and handle_line_of_input().
|
extern |
Definition at line 318 of file top.c.
Referenced by command_line_input(), and script_from_file().
|
extern |
Definition at line 312 of file top.c.
Referenced by command_line_input(), and script_from_file().