aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1993-09-08 21:45:17 +0000
committerK. Richard Pixley <rich@cygnus>1993-09-08 21:45:17 +0000
commitc323585b8925a1bc88294a63150aeaf9e6545983 (patch)
treeb62f1bddb5f119d01679253184d39b23b34d42d7 /gdb/config
parentfee933f19c4956f6f5b8e05bb0e596dcae98b61a (diff)
downloadgdb-c323585b8925a1bc88294a63150aeaf9e6545983.zip
gdb-c323585b8925a1bc88294a63150aeaf9e6545983.tar.gz
gdb-c323585b8925a1bc88294a63150aeaf9e6545983.tar.bz2
gcc lint
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/h8300/tm-h8300.h6
-rw-r--r--gdb/config/m88k/tm-m88k.h6
2 files changed, 11 insertions, 1 deletions
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)