Defines |
| #define | PROMPT(X) the_prompts.prompt_stack[the_prompts.top + X].prompt |
| #define | PREFIX(X) the_prompts.prompt_stack[the_prompts.top + X].prefix |
| #define | SUFFIX(X) the_prompts.prompt_stack[the_prompts.top + X].suffix |
| #define | DEFAULT_PROMPT "(gdb) " |
| #define | SERVER_COMMAND_LENGTH 7 |
| #define | DO_TRY TRY_CATCH (ex, RETURN_MASK_ALL) |
| #define | DO_PRINT_EX |
| #define | Hist_print 10 |
Functions |
| void | initialize_all_files (void) |
| void | do_restore_instream_cleanup (void *stream) |
| void | read_command_file (FILE *stream) |
| struct cleanup * | prepare_execute_command (void) |
| void | check_frame_language_change (void) |
| void | execute_command (char *p, int from_tty) |
| char * | execute_command_to_string (char *p, int from_tty) |
| void | command_loop (void) |
| void | dont_repeat (void) |
| struct cleanup * | prevent_dont_repeat (void) |
| char * | gdb_readline (char *prompt_arg) |
| char * | gdb_readline_wrapper (char *prompt) |
| char * | command_line_input (char *prompt_arg, int repeat, char *annotation_suffix) |
| void | print_gdb_version (struct ui_file *stream) |
| void | print_gdb_configuration (struct ui_file *stream) |
| char * | get_prompt (void) |
| void | set_prompt (const char *s) |
| int | quit_confirm (void) |
| void | quit_force (char *args, int from_tty) |
| int | input_from_terminal_p (void) |
| void | show_commands (char *args, int from_tty) |
| void | set_history (char *args, int from_tty) |
| void | show_history (char *args, int from_tty) |
| void | set_verbose (char *args, int from_tty, struct cmd_list_element *c) |
| void | init_history (void) |
| void | gdb_init (char *argv0) |
Variables |
| const char | gdbinit [] = GDBINIT |
| int | inhibit_gdbinit = 0 |
| int | use_windows = 0 |
| char | lang_frame_mismatch_warn [] |
| int | confirm = 1 |
| FILE * | instream |
| int | in_user_command |
| char * | current_directory |
| char | gdb_dirbuf [1024] |
| void(* | window_hook )(FILE *, char *) |
| char * | saved_command_line |
| int | saved_command_line_size = 100 |
| int | server_command |
| int | remote_timeout = 2 |
| int | remote_debug = 0 |
| void(* | deprecated_init_ui_hook )(char *argv0) |
| int(* | deprecated_ui_loop_hook )(int) |
| void(* | deprecated_print_frame_info_listing_hook )(struct symtab *s, int line, int stopline, int noerror) |
| int(* | deprecated_query_hook )(const char *, va_list) |
| void(* | deprecated_warning_hook )(const char *, va_list) |
| void(* | deprecated_readline_begin_hook )(char *,...) |
| char *(* | deprecated_readline_hook )(char *) |
| void(* | deprecated_readline_end_hook )(void) |
| void(* | deprecated_attach_hook )(void) |
| void(* | deprecated_detach_hook )(void) |
| void(* | deprecated_interactive_hook )(void) |
| void(* | deprecated_register_changed_hook )(int regno) |
| ptid_t(* | deprecated_target_wait_hook )(ptid_t ptid, struct target_waitstatus *status, int options) |
| void(* | deprecated_call_command_hook )(struct cmd_list_element *c, char *cmd, int from_tty) |
| void(* | deprecated_set_hook )(struct cmd_list_element *c) |
| void(* | deprecated_context_hook )(int id) |
| int | source_line_number |
| const char * | source_file_name |
| void(* | pre_init_ui_hook )(void) |
| int | history_expansion_p |
| int | info_verbose = 0 |