diff options
author | Stu Grossman <grossman@cygnus> | 1995-10-16 18:51:15 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1995-10-16 18:51:15 +0000 |
commit | 1480482acb1246a03fd9fe6615d221b09b5ab5e6 (patch) | |
tree | 47bc72b21d052797a823210ee8dccdcfb73669bf /gdb/config | |
parent | 934ec87c6b17ba28fa03d881f42e4756b14272f4 (diff) | |
download | gdb-1480482acb1246a03fd9fe6615d221b09b5ab5e6.zip gdb-1480482acb1246a03fd9fe6615d221b09b5ab5e6.tar.gz gdb-1480482acb1246a03fd9fe6615d221b09b5ab5e6.tar.bz2 |
* Makefile.in sh3-rom.c config/sh/sh.mt config/sh/tm-sh.h: Add
sh3 monitor support.
* monitor.c: Cleanup regexp compilation stuff to make it easier
to use several regexps.
* monitor.h: Get rid of struct rom_cmd_data. It's no longer used.
* config/m68k/tm-monitor.h: Don't redefine NUM_REGS here. It just
causes GDB to crash.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/sh/sh.mt | 2 | ||||
-rw-r--r-- | gdb/config/sh/tm-sh.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/gdb/config/sh/sh.mt b/gdb/config/sh/sh.mt index b4a4a8b..6182b87 100644 --- a/gdb/config/sh/sh.mt +++ b/gdb/config/sh/sh.mt @@ -1,5 +1,5 @@ # Target: Hitachi Super-H with ICE and simulator -TDEPFILES= sh-tdep.o remote-e7000.o ser-e7kpc.o +TDEPFILES= sh-tdep.o monitor.o sh3-rom.o remote-e7000.o ser-e7kpc.o TM_FILE= tm-sh.h SIM_OBS = remote-sim.o diff --git a/gdb/config/sh/tm-sh.h b/gdb/config/sh/tm-sh.h index c49ecbe..d47cb2e 100644 --- a/gdb/config/sh/tm-sh.h +++ b/gdb/config/sh/tm-sh.h @@ -117,6 +117,7 @@ extern CORE_ADDR sh_skip_prologue (); to be actual register numbers as far as the user is concerned but do serve to get the desired values when passed to read_register. */ +#define R0_REGNUM 0 #define FP_REGNUM 14 #define SP_REGNUM 15 #define PC_REGNUM 16 |