aboutsummaryrefslogtreecommitdiff
path: root/gdb/valops.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-05-15 06:27:18 +0000
committerAndrew Cagney <cagney@redhat.com>2000-05-15 06:27:18 +0000
commitd1e3cf49987161b72dd638ff94a5fc3e1f684484 (patch)
treefb3689f10eea0c4158d27e4296c4b96792b61a8d /gdb/valops.c
parentf23d52e0a54905bc88c1a5ea25168227356d6f37 (diff)
downloadgdb-d1e3cf49987161b72dd638ff94a5fc3e1f684484.zip
gdb-d1e3cf49987161b72dd638ff94a5fc3e1f684484.tar.gz
gdb-d1e3cf49987161b72dd638ff94a5fc3e1f684484.tar.bz2
Convert SAVE_DUMMY_FRAME_TOS to multi-arch.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r--gdb/valops.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/valops.c b/gdb/valops.c
index 0632ede..710c2be 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -1678,9 +1678,8 @@ 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
+ if (SAVE_DUMMY_FRAME_TOS_P ())
+ SAVE_DUMMY_FRAME_TOS (sp);
{
char retbuf[REGISTER_BYTES];