aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-03-27 15:29:45 +0000
committerAndrew Cagney <cagney@redhat.com>2003-03-27 15:29:45 +0000
commit378bfd1b7a2a1afc6553da2ae148a3908cf6d147 (patch)
treebc9527fd134df416332ccaf41d56604ec600256b /gdb/sparc-tdep.c
parent56056df7357ad45c335b21b9432ac7133b8db34e (diff)
downloadgdb-378bfd1b7a2a1afc6553da2ae148a3908cf6d147.zip
gdb-378bfd1b7a2a1afc6553da2ae148a3908cf6d147.tar.gz
gdb-378bfd1b7a2a1afc6553da2ae148a3908cf6d147.tar.bz2
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.
Diffstat (limited to 'gdb/sparc-tdep.c')
-rw-r--r--gdb/sparc-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c
index c638bd6..59079b0 100644
--- a/gdb/sparc-tdep.c
+++ b/gdb/sparc-tdep.c
@@ -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, &register_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])
{