From 1480482acb1246a03fd9fe6615d221b09b5ab5e6 Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Mon, 16 Oct 1995 18:51:15 +0000 Subject: * 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. --- gdb/config/sh/sh.mt | 2 +- gdb/config/sh/tm-sh.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/config') 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 -- cgit v1.1