aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1995-01-15 23:17:43 +0000
committerSteve Chamberlain <sac@cygnus>1995-01-15 23:17:43 +0000
commit16041d5304aedb49116e142e16f4f30ba3c858bb (patch)
tree82e8b04b30c36b721822cdc72867c506a12f1332 /gdb/top.c
parenta465efbb389cf849a0dc4ba4cbf4010230587c12 (diff)
downloadgdb-16041d5304aedb49116e142e16f4f30ba3c858bb.zip
gdb-16041d5304aedb49116e142e16f4f30ba3c858bb.tar.gz
gdb-16041d5304aedb49116e142e16f4f30ba3c858bb.tar.bz2
Sun Jan 15 14:36:19 1995 Steve Chamberlain <sac@splat>
* breakpoint.h (disable_breakpoint, enable_breakpoint): New declarations. (enum bpdisp): Change name of 'delete' member to 'del'. (struct bpstat): Changed name to 'bpstats'. * breakpoint.c (disable_breakpoint, enable_breakpoint, breakpoint_chain): Made globally visible. (bpstat_stop_status): Use new name for bpstat. (break_command_1, watch_command_1, catch_command_1, breakpoint_auto_delete, denable_delete_breakpoint): Use 'del' instead of 'delete'. (set_breakpoint_sal): New function. * defs.h (registers_changed_hook): New declaration. * infcmd.c (run_stack_dummy): 'delete' is now 'del'. * inflow.c (new_tty): Treat WIN32 in same way as __GO32__ * main.c (main): Don't scan options when in WIN32 and exit without entering main loop. * m2-exp.y (m2_elx): Member 'class' is now 'aclass'. * symtab.h (struct symbol, struct partial_symbol): Changed name of member 'class' to 'aclass'. (SYMBOL_CLASS, PSYMBOL_CLASS): Reflect change. * top.c (registers_changed_hook): New definition. * utils.c (quit, notice_quit, initialize_utils): Treate WIN32 in same way as __GO32__. * value.h (c_typedef_print): Rename 'new' argument.
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/top.c b/gdb/top.c
index acc2066..d37762c 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -1,5 +1,5 @@
/* Top level stuff for GDB, the GNU debugger.
- Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994
+ Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995
Free Software Foundation, Inc.
This file is part of GDB.
@@ -399,6 +399,11 @@ void (*disable_breakpoint_hook) PARAMS ((struct breakpoint *bpt));
void (*interactive_hook) PARAMS ((void));
+/* Called when the registers have changed, as a hint to a GUI
+ to minimize window update. */
+
+void (*registers_changed_hook) PARAMS ((void));
+
/* Called when going to wait for the target. Usually allows the GUI to run
while waiting for target events. */