aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-h8300.h
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1993-02-12 16:07:36 +0000
committerSteve Chamberlain <sac@cygnus>1993-02-12 16:07:36 +0000
commit256b4f378a3822e7c9d0908687dc61669fee2b43 (patch)
treee94a7b63df4e242de8da143b587fb010b599a513 /gdb/tm-h8300.h
parent8ccb154d8b6eb1b8bfde23c656f7bcfd27663801 (diff)
downloadgdb-256b4f378a3822e7c9d0908687dc61669fee2b43.zip
gdb-256b4f378a3822e7c9d0908687dc61669fee2b43.tar.gz
gdb-256b4f378a3822e7c9d0908687dc61669fee2b43.tar.bz2
* h8300-tdep.c, tm-h8300.h: turn off some experimental features
Diffstat (limited to 'gdb/tm-h8300.h')
-rw-r--r--gdb/tm-h8300.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/gdb/tm-h8300.h b/gdb/tm-h8300.h
index ba1e883..2f99c10 100644
--- a/gdb/tm-h8300.h
+++ b/gdb/tm-h8300.h
@@ -102,7 +102,8 @@ UNSIGNED_SHORT(read_memory_integer (read_register (SP_REGNUM), 2))
#define REGISTER_TYPE unsigned short
-# define NUM_REGS 10 /* 20 for fake HW support */
+/*# define NUM_REGS 20 /* 20 for fake HW support */
+# define NUM_REGS 11
# define REGISTER_BYTES (NUM_REGS*2)
@@ -153,10 +154,15 @@ UNSIGNED_SHORT(read_memory_integer (read_register (SP_REGNUM), 2))
/* Initializer for an array of names of registers.
Entries beyond the first NUM_REGS are ignored. */
+#if NUM_REGS==20
#define REGISTER_NAMES \
{"r0", "r1", "r2", "r3", "r4", "r5", "r6", "sp",\
- "ccr","pc","cycles","hcheck","tier","tcsr","frc","ocra","ocrb","tcr","tocr","icra"}
-
+ "ccr","pc","cycles","hcheck","tier","tcsr","frc",\
+ "ocra","ocrb","tcr","tocr","icra"}
+#else
+#define REGISTER_NAMES \
+ {"r0", "r1", "r2", "r3", "r4", "r5", "r6", "sp", "ccr","pc","cycles"}
+#endif
/* Register numbers of various important registers.
Note that some of these values are "real" register numbers,