aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.h
diff options
context:
space:
mode:
authorKeith Seitz <keiths@cygnus>1997-11-26 22:38:10 +0000
committerKeith Seitz <keiths@cygnus>1997-11-26 22:38:10 +0000
commit018d76dddba746b8e59770136e5ca167ae72e15b (patch)
treee8293e1b60e5d088247993b4a0f82b5cb585154a /gdb/top.h
parent0fa555ea6267729939ebdbbbe342dd15b23a49db (diff)
downloadgdb-018d76dddba746b8e59770136e5ca167ae72e15b.zip
gdb-018d76dddba746b8e59770136e5ca167ae72e15b.tar.gz
gdb-018d76dddba746b8e59770136e5ca167ae72e15b.tar.bz2
* tracepoint.c (set_raw_tracepoint): make sure there's a trailing slash on
the directory name * Merge (lots) with foundry-971118-build * Makefile.in (install-only): install the new gdbtk, not the old * top.h: add declaration of get_prompt * top.c (get_prompt): new function * gdbtk.c (gdbtk_call_command): also run idle hooks for class_trace commands (gdbtk_init): add new commands "gdb_get_locals", "gdb_get_args", "gdb_get_function", "gdb_get_line", "gdb_get_file", "gdb_tracepoint_exists", "gdb_get_tracepoint_info", "gdb_actions", and "gdb_prompt" (gdb_get_vars_command): new function (gdb_get_line_command): new function (gdb_get_file_command): new function (gdb_get_function_command): new function (gdb_get_tracepoint_info): new function (gdbtk_create_tracepoint): new function (gdbtk_delete_tracepoint): new function (tracepoint_notify): new function (tracepoint_exists): new function (gdb_actions_command): new function (gdb_tracepoint_exists_command): new function (gdb_prompt_command): new function * main.tcl: initialize gdbtk_state(readline) * console.tcl (invoke): get realine working (activate): add prompt argument for readline (setprompt): add prompt argument for readline * interface.tcl (gdbtk_tcl_readline): hack to get readline working * lots: Merge with foundry-971118-build * console.tcl (setprompt): get prompt from gdb * prefs.tcl (pref_set_defaults): add tracepoint defaults * interface.tcl (gdbtk_tcl_tracepoint): new function * src.tcl (constructor): set default behavior of left click, make a tracepoint dot, too (fill_files): "new" function: ripped out of "location" (location): use fill_files instead (do_bp): add support for tracepoints (bp_line): add support for tracepoints (set_tracepoint): new function (config_win): add "Set tracepoint here" to right-click menu * actiondlg.tcl: new file to help with tracepoint data collection actions * tracedlg.tcl: new file to help with tracepoints
Diffstat (limited to 'gdb/top.h')
-rw-r--r--gdb/top.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/top.h b/gdb/top.h
index f997750..f60d926 100644
--- a/gdb/top.h
+++ b/gdb/top.h
@@ -39,7 +39,10 @@ extern void cd_command PARAMS ((char *, int));
extern void read_command_file PARAMS ((FILE *));
extern void init_history PARAMS ((void));
extern void command_loop PARAMS ((void));
+extern int quit_confirm PARAMS ((void));
+extern void quit_force PARAMS ((char *, int));
extern void quit_command PARAMS ((char *, int));
+extern char *get_prompt PARAMS((void));
/* From random places. */
extern int mapped_symbol_files;