diff options
author | K. Richard Pixley <rich@cygnus> | 1993-09-08 21:45:17 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1993-09-08 21:45:17 +0000 |
commit | c323585b8925a1bc88294a63150aeaf9e6545983 (patch) | |
tree | b62f1bddb5f119d01679253184d39b23b34d42d7 /gdb | |
parent | fee933f19c4956f6f5b8e05bb0e596dcae98b61a (diff) | |
download | gdb-c323585b8925a1bc88294a63150aeaf9e6545983.zip gdb-c323585b8925a1bc88294a63150aeaf9e6545983.tar.gz gdb-c323585b8925a1bc88294a63150aeaf9e6545983.tar.bz2 |
gcc lint
Diffstat (limited to 'gdb')
-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) |