GDB (xrefs)
Functions | Variables
/tmp/gdb-7.10/gdb/top.h File Reference

Go to the source code of this file.

Functions

void print_gdb_version (struct ui_file *)
 
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 (char *, int)
 
void quit_command (char *, int)
 
void quit_cover (void)
 
void execute_command (char *, int)
 
void maybe_wait_sync_command_done (int was_sync)
 
void check_frame_language_change (void)
 
struct cleanupprepare_execute_command (void)
 
char * get_prompt (void)
 
void set_prompt (const char *s)
 
void gdb_init (char *)
 
void gdb_add_history (const char *)
 
void show_commands (char *args, int from_tty)
 
void set_history (char *, int)
 
void show_history (char *, int)
 
void set_verbose (char *, int, struct cmd_list_element *)
 
void do_restore_instream_cleanup (void *stream)
 

Variables

char * saved_command_line
 
int saved_command_line_size
 
FILE * instream
 
int in_user_command
 
int confirm
 
char gdb_dirbuf [1024]
 
int inhibit_gdbinit
 
const char gdbinit []
 
int readnow_symbol_files
 
int source_line_number
 
const char * source_file_name
 
int history_expansion_p
 
int server_command
 
char * lim_at_start
 

Function Documentation

void check_frame_language_change ( void  )
void command_loop ( void  )
void do_restore_instream_cleanup ( void *  stream)

Definition at line 278 of file top.c.

References instream.

Referenced by execute_user_command(), and read_command_file().

void execute_command ( char *  ,
int   
)
void gdb_add_history ( const char *  )

Definition at line 912 of file top.c.

References command_count, and history_remove_duplicates.

Referenced by command_line_handler(), and command_line_input().

void gdb_init ( char *  )
char* get_prompt ( void  )

Definition at line 1386 of file top.c.

References top_prompt.

Referenced by command_loop(), and top_level_prompt().

void init_history ( void  )
void maybe_wait_sync_command_done ( int  was_sync)
struct cleanup* prepare_execute_command ( void  )
void print_gdb_configuration ( struct ui_file )
void print_gdb_version ( struct ui_file )

Definition at line 1225 of file top.c.

References _, fprintf_filtered(), host_name, PKGVERSION, REPORT_BUGS_TO, target_name, and version.

Referenced by captured_main(), and show_version().

void quit_command ( char *  ,
int   
)
int quit_confirm ( void  )
void quit_cover ( void  )
void quit_force ( char *  ,
int   
)
void read_command_file ( FILE *  )

Definition at line 286 of file top.c.

References command_loop(), do_cleanups(), do_restore_instream_cleanup(), instream, and make_cleanup().

Referenced by script_from_file().

void set_history ( char *  ,
int   
)

Definition at line 1686 of file top.c.

References _, all_commands, gdb_stdout, help_list(), printf_unfiltered(), and sethistlist.

Referenced by _initialize_cli_cmds().

void set_prompt ( const char *  s)

Definition at line 1394 of file top.c.

References top_prompt, and xfree().

Referenced by gdbpy_before_prompt_hook(), and init_main().

void set_verbose ( char *  ,
int  ,
struct cmd_list_element  
)
void show_commands ( char *  args,
int  from_tty 
)

Definition at line 1603 of file top.c.

References Hist_print, line, offset, parse_and_eval_long(), and printf_filtered().

Referenced by _initialize_cli_cmds().

void show_history ( char *  ,
int   
)

Definition at line 1694 of file top.c.

References cmd_show_list(), and showhistlist.

Referenced by _initialize_cli_cmds().

Variable Documentation

int confirm

Definition at line 93 of file top.c.

Referenced by ATTRIBUTE_PRINTF(), and init_main().

char gdb_dirbuf[1024]

Definition at line 120 of file top.c.

Referenced by captured_main(), cd_command(), mi_cmd_env_pwd(), and pwd_command().

const char gdbinit[]

Definition at line 84 of file top.c.

Referenced by file_is_auto_load_safe(), get_init_files(), and init_cli_cmds().

int history_expansion_p

Definition at line 678 of file top.c.

Referenced by _initialize_cli_cmds(), command_line_handler(), command_line_input(), and init_main().

int in_user_command

Definition at line 113 of file top.c.

Referenced by do_restore_user_call_depth(), execute_user_command(), and input_from_terminal_p().

int inhibit_gdbinit

Definition at line 86 of file top.c.

Referenced by _initialize_check_for_gdb_ini(), and captured_main().

FILE* instream
char* lim_at_start

Definition at line 170 of file top.c.

Referenced by captured_main(), make_command_stats_cleanup(), and report_command_stats().

int readnow_symbol_files

Definition at line 82 of file symfile.c.

Referenced by captured_main(), and symbol_file_add_with_addrs().

char* saved_command_line
int saved_command_line_size

Definition at line 132 of file top.c.

Referenced by captured_main(), command_line_handler(), and command_line_input().

int server_command
const char* source_file_name
int source_line_number