aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sh
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config/sh')
-rw-r--r--gdb/config/sh/sh.mt2
-rw-r--r--gdb/config/sh/tm-sh.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/config/sh/sh.mt b/gdb/config/sh/sh.mt
index 6182b87..c08948b 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 monitor.o sh3-rom.o remote-e7000.o ser-e7kpc.o
+TDEPFILES= sh-tdep.o monitor.o sh3-rom.o remote-e7000.o ser-e7kpc.o srec.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 8f56ebb..726cb96 100644
--- a/gdb/config/sh/tm-sh.h
+++ b/gdb/config/sh/tm-sh.h
@@ -49,7 +49,7 @@ extern CORE_ADDR sh_skip_prologue ();
The return address is the value saved in the PR register + 4 */
#define SAVED_PC_AFTER_CALL(frame) \
- (ADDR_BITS_REMOVE(read_register(PR_REGNUM))+4)
+ (ADDR_BITS_REMOVE(read_register(PR_REGNUM)))
/* Stack grows downward. */