aboutsummaryrefslogtreecommitdiff
path: root/gdb/h8300-tdep.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>1996-11-27 19:31:26 +0000
committerMichael Snyder <msnyder@vmware.com>1996-11-27 19:31:26 +0000
commit409f64ae056e9f06ea492bfe4ffb42f85170ed5d (patch)
tree7d2a16ea8489169e39cbe23355ea43a540f6496f /gdb/h8300-tdep.c
parent50f04a5a37ce4bd1da4def5bee108c361cdfddac (diff)
downloadgdb-409f64ae056e9f06ea492bfe4ffb42f85170ed5d.zip
gdb-409f64ae056e9f06ea492bfe4ffb42f85170ed5d.tar.gz
gdb-409f64ae056e9f06ea492bfe4ffb42f85170ed5d.tar.bz2
Wed Nov 27 11:29:06 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
* blockframe.c: ...Remove old-style CALL_DUMMY code... * h8300-tdep.c: * config/h8300/tm-h8300.h: start-sanitize-m32r * m32r-tdep.c: * config/m32r/tm-m32r.h: end-sanitize-m32r * sh-tdep.c: * config/sh/tm-sh.h: start-sanitize-v850 * v850-tdep.c: * config/v850/tm-v850.h: end-sanitize-v850
Diffstat (limited to 'gdb/h8300-tdep.c')
-rw-r--r--gdb/h8300-tdep.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c
index df179bb..7c340b1 100644
--- a/gdb/h8300-tdep.c
+++ b/gdb/h8300-tdep.c
@@ -613,13 +613,8 @@ h8300_push_return_address (pc, sp)
else
wordsize = 2;
-#if CALL_DUMMY_LOCATION != AT_ENTRY_POINT
- pc = pc - CALL_DUMMY_START_OFFSET + CALL_DUMMY_BREAKPOINT_OFFSET;
-#else
- pc = CALL_DUMMY_ADDRESS ();
-#endif /* CALL_DUMMY_LOCATION */
sp -= wordsize;
- store_unsigned_integer (buf, wordsize, pc);
+ store_unsigned_integer (buf, wordsize, CALL_DUMMY_ADDRESS ());
write_memory (sp, buf, wordsize);
return sp;
}