From 16041d5304aedb49116e142e16f4f30ba3c858bb Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Sun, 15 Jan 1995 23:17:43 +0000 Subject: Sun Jan 15 14:36:19 1995 Steve Chamberlain * 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. --- gdb/top.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gdb/top.c') 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. */ -- cgit v1.1