From c323585b8925a1bc88294a63150aeaf9e6545983 Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Wed, 8 Sep 1993 21:45:17 +0000 Subject: [PATCH] gcc lint --- gdb/ChangeLog | 1 + gdb/config/h8300/tm-h8300.h | 6 +++++- gdb/config/m88k/tm-m88k.h | 6 ++++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a8e2a15f6ff..f3f8d154ce1 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 bee667a4c8c..67f5aa3fcd7 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 2249d35df6a..5588f13e137 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) -- 2.30.2