aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gdb/ChangeLog27
-rw-r--r--gdb/defs.h3
-rw-r--r--gdb/m2-exp.y4
-rw-r--r--gdb/top.c7
4 files changed, 37 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7d03819..1d9d8ed 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,30 @@
+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.
+
Sat Jan 14 11:18:11 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
* infcmd.c (signal_command): For "signal 0", pass (CORE_ADDR)-1,
diff --git a/gdb/defs.h b/gdb/defs.h
index 05d5910..7979a29 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -1,5 +1,5 @@
/* Basic, host-specific, and target-specific definitions for GDB.
- Copyright (C) 1986, 1989, 1991, 1992, 1993, 1994
+ Copyright (C) 1986, 1989, 1991, 1992, 1993, 1994, 1995
Free Software Foundation, Inc.
This file is part of GDB.
@@ -855,6 +855,7 @@ extern void (*delete_breakpoint_hook) PARAMS ((struct breakpoint *bpt));
extern void (*enable_breakpoint_hook) PARAMS ((struct breakpoint *bpt));
extern void (*disable_breakpoint_hook) PARAMS ((struct breakpoint *bpt));
extern void (*interactive_hook) PARAMS ((void));
+extern void (*registers_changed_hook) PARAMS ((void));
extern int (*dis_asm_read_memory_hook) PARAMS ((bfd_vma memaddr,
bfd_byte *myaddr, int len,
disassemble_info *info));
diff --git a/gdb/m2-exp.y b/gdb/m2-exp.y
index bbbdda4..57b6abe 100644
--- a/gdb/m2-exp.y
+++ b/gdb/m2-exp.y
@@ -1,5 +1,5 @@
/* YACC grammar for Modula-2 expressions, for GDB.
- Copyright (C) 1986, 1989, 1990, 1991, 1993, 1994
+ Copyright (C) 1986, 1989, 1990, 1991, 1993, 1994, 1995
Free Software Foundation, Inc.
Generated from expread.y (now c-exp.y) and contributed by the Department
of Computer Science at the State University of New York at Buffalo, 1991.
@@ -1087,7 +1087,7 @@ yylex ()
if(sym)
{
- switch(sym->class)
+ switch(sym->aclass)
{
case LOC_STATIC:
case LOC_REGISTER:
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. */