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
This commit is contained in:
Michael Snyder
1996-11-27 19:31:26 +00:00
parent 50f04a5a37
commit 409f64ae05
7 changed files with 24 additions and 115 deletions

View File

@@ -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;
}