gcc lint
authorK. Richard Pixley <rich@cygnus>
Wed, 8 Sep 1993 21:45:17 +0000 (21:45 +0000)
committerK. Richard Pixley <rich@cygnus>
Wed, 8 Sep 1993 21:45:17 +0000 (21:45 +0000)
gdb/ChangeLog
gdb/config/h8300/tm-h8300.h
gdb/config/m88k/tm-m88k.h

index a8e2a15f6ff5b75cfd172130a7a2a03aa1f70fa4..f3f8d154ce150ceb3dfa46ec6dcdd00976843480 100644 (file)
@@ -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.
index bee667a4c8c8c07069b0e2023e6e3ffbdd5f6667..67f5aa3fcd740e0fbcff6390276892d4a5028b5b 100644 (file)
@@ -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
index 2249d35df6a5d0dcf41eb18dc5dcb7e19d13ddae..5588f13e137724cf51575b07a3f36d8f366ed0ee 100644 (file)
@@ -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)