aboutsummaryrefslogtreecommitdiff
path: root/gdb/valops.c
diff options
context:
space:
mode:
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);