aboutsummaryrefslogtreecommitdiff
path: root/gdb/valops.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/valops.c')
-rw-r--r--gdb/valops.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/valops.c b/gdb/valops.c
index 74dae8d..c7db836 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -1636,6 +1636,10 @@ You must use a pointer to function type variable. Command ignored.", arg_name);
wouldn't happen. (See store_inferior_registers in sparc-nat.c.) */
write_sp (sp);
+#ifdef SAVE_DUMMY_FRAME_TOS
+ SAVE_DUMMY_FRAME_TOS (sp);
+#endif
+
{
char retbuf[REGISTER_BYTES];
char *name;