diff options
author | Steve Chamberlain <sac@cygnus> | 1993-01-18 20:24:47 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1993-01-18 20:24:47 +0000 |
commit | 62b66d6df1cf614535e1e468c32b67c4441413a1 (patch) | |
tree | 906859c58fc89deafc9bda54f50dd8b2adf0e9fc /gdb | |
parent | c4413e2c9b9e257a93b4370c5e4e976c768b9e9a (diff) | |
download | binutils-62b66d6df1cf614535e1e468c32b67c4441413a1.zip binutils-62b66d6df1cf614535e1e468c32b67c4441413a1.tar.gz binutils-62b66d6df1cf614535e1e468c32b67c4441413a1.tar.bz2 |
checkpoint
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/config/h8300hms.mt | 2 | ||||
-rw-r--r-- | gdb/remote-hms.c | 3 | ||||
-rw-r--r-- | gdb/tm-h8300.h | 7 |
3 files changed, 7 insertions, 5 deletions
diff --git a/gdb/config/h8300hms.mt b/gdb/config/h8300hms.mt index 01ada98..71213ea 100644 --- a/gdb/config/h8300hms.mt +++ b/gdb/config/h8300hms.mt @@ -1,3 +1,3 @@ # Target: H8300 with HMS monitor and H8 simulator -TDEPFILES= exec.o h8300-tdep.o remote-hms.o remote-sim.o ../h8300sim/code.o +TDEPFILES= exec.o h8300-tdep.o remote-hms.o remote-sim.o ../h8300sim/code.o ../h8300sim/perifs.o TM_FILE= tm-h8300.h diff --git a/gdb/remote-hms.c b/gdb/remote-hms.c index 0cb42f6..9e6ef54 100644 --- a/gdb/remote-hms.c +++ b/gdb/remote-hms.c @@ -793,7 +793,7 @@ static char * get_reg_name (regno) int regno; { - static char *rn[NUM_REGS] = REGISTER_NAMES; + static char *rn[] = REGISTER_NAMES; return rn[regno]; } @@ -1217,6 +1217,7 @@ hms_read_inferior_memory (memaddr, myaddr, len) } } + expect("emory>"); hms_write_cr (" "); expect_prompt (); return len; diff --git a/gdb/tm-h8300.h b/gdb/tm-h8300.h index 5678c4a..ba1e883 100644 --- a/gdb/tm-h8300.h +++ b/gdb/tm-h8300.h @@ -102,8 +102,8 @@ UNSIGNED_SHORT(read_memory_integer (read_register (SP_REGNUM), 2)) #define REGISTER_TYPE unsigned short -# define NUM_REGS 10 -# define REGISTER_BYTES (10*2) +# define NUM_REGS 10 /* 20 for fake HW support */ +# define REGISTER_BYTES (NUM_REGS*2) /* Index within `registers' of the first byte of the space for @@ -154,7 +154,8 @@ UNSIGNED_SHORT(read_memory_integer (read_register (SP_REGNUM), 2)) Entries beyond the first NUM_REGS are ignored. */ #define REGISTER_NAMES \ - {"r0", "r1", "r2", "r3", "r4", "r5", "r6", "sp","ccr","pc"} + {"r0", "r1", "r2", "r3", "r4", "r5", "r6", "sp",\ + "ccr","pc","cycles","hcheck","tier","tcsr","frc","ocra","ocrb","tcr","tocr","icra"} /* Register numbers of various important registers. |