mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 09:38:57 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user