diff options
-rw-r--r-- | gdb/ChangeLog | 1 | ||||
-rw-r--r-- | gdb/config/h8300/tm-h8300.h | 6 | ||||
-rw-r--r-- | gdb/config/m88k/tm-m88k.h | 6 |
3 files changed, 12 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a8e2a15..f3f8d15 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,6 +1,7 @@ Wed Sep 8 13:01:10 1993 K. Richard Pixley (rich@cygnus.com) Gcc lint. + * config/tm-h8300.h (NUM_REGS): rewrite to avoid nested comment. * blockframe.c (get_prev_frame_info): initialize address. * breakpoint.c (bpstat_copy): initialize retval. (bpstat_stop_status): initialize value_is_zero. diff --git a/gdb/config/h8300/tm-h8300.h b/gdb/config/h8300/tm-h8300.h index bee667a..67f5aa3 100644 --- a/gdb/config/h8300/tm-h8300.h +++ b/gdb/config/h8300/tm-h8300.h @@ -94,8 +94,12 @@ extern CORE_ADDR h8300_skip_prologue (); #define REGISTER_TYPE unsigned short -/*# define NUM_REGS 20 /* 20 for fake HW support */ +#if 0 +# define NUM_REGS 20 /* 20 for fake HW support */ +#else #define NUM_REGS 13 +#endif + #define REGISTER_BYTES (NUM_REGS * 4) /* Index within `registers' of the first byte of the space for diff --git a/gdb/config/m88k/tm-m88k.h b/gdb/config/m88k/tm-m88k.h index 2249d35..5588f13 100644 --- a/gdb/config/m88k/tm-m88k.h +++ b/gdb/config/m88k/tm-m88k.h @@ -384,6 +384,12 @@ extern CORE_ADDR frame_locals_address (); previous frames. */ +struct frame_saved_regs; +struct frame_info; + +void frame_find_saved_regs PARAMS((struct frame_info *fi, + struct frame_saved_regs *fsr)); + #define FRAME_FIND_SAVED_REGS(frame_info, frame_saved_regs) \ frame_find_saved_regs (frame_info, &frame_saved_regs) |