aboutsummaryrefslogtreecommitdiff
path: root/gdb/valops.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/valops.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/valops.c')
-rw-r--r--gdb/valops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valops.c b/gdb/valops.c
index a7453e9..1a5956c 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -1697,7 +1697,7 @@ You must use a pointer to function type variable. Command ignored.", arg_name);
frame), and none of the code following that code adjusts the
stack-pointer value, the below call is entirely redundant. */
if (!gdbarch_push_dummy_call_p (current_gdbarch))
- write_sp (sp);
+ TARGET_WRITE_SP (sp);
if (SAVE_DUMMY_FRAME_TOS_P ())
SAVE_DUMMY_FRAME_TOS (sp);