diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-05-15 06:27:18 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-05-15 06:27:18 +0000 |
commit | d1e3cf49987161b72dd638ff94a5fc3e1f684484 (patch) | |
tree | fb3689f10eea0c4158d27e4296c4b96792b61a8d /gdb/valops.c | |
parent | f23d52e0a54905bc88c1a5ea25168227356d6f37 (diff) | |
download | gdb-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.c | 5 |
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]; |