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 | 5c91eccb40bab4dff521d0e3afae99ba50da9fec (patch) | |
tree | dbd3c4a1e6cb81934f0c6da9f926638cc0d26b70 /gdb/valops.c | |
parent | 34f635b0c7ff5ebb93b4ccafa2753e577d34ec6f (diff) | |
download | gdb-5c91eccb40bab4dff521d0e3afae99ba50da9fec.tar.gz |
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 0632ede8208..710c2be2e70 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]; |