mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
2003-03-27 Andrew Cagney <cagney@redhat.com>
* regcache.c (write_sp): Delete function and references. * inferior.h (write_sp): Delete declaration. * valops.c (hand_function_call): Replace write_sp with TARGET_WRITE_SP. * sparc-tdep.c (sparc_push_dummy_frame): Ditto. (sparc_pop_frame): Ditto. Index: doc/ChangeLog 2003-03-27 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Remove references to write_sp.
This commit is contained in:
@@ -1040,7 +1040,7 @@ sparc_push_dummy_frame (void)
|
||||
|
||||
sp -= DUMMY_STACK_SIZE;
|
||||
|
||||
write_sp (sp);
|
||||
TARGET_WRITE_SP (sp);
|
||||
|
||||
write_memory (sp + DUMMY_REG_SAVE_OFFSET, ®ister_temp[0],
|
||||
DUMMY_STACK_REG_BUF_SIZE);
|
||||
@@ -1310,7 +1310,7 @@ sparc_pop_frame (void)
|
||||
read_memory_integer (fsr[O0_REGNUM + 7],
|
||||
SPARC_INTREG_SIZE));
|
||||
|
||||
write_sp (get_frame_base (frame));
|
||||
TARGET_WRITE_SP (get_frame_base (frame));
|
||||
}
|
||||
else if (fsr[I0_REGNUM])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user