diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-06-16 16:47:44 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-06-16 16:47:44 +0000 |
commit | a59fe496df017e2d4f67dfa6eecf243ef7dccc11 (patch) | |
tree | 5bf6df2f5f508441dd38a5553ac7435d7cfe2d7e /gdb/ia64-tdep.c | |
parent | 6f4e5a4121640be19f146b24e5c0d1332d481e00 (diff) | |
download | gdb-a59fe496df017e2d4f67dfa6eecf243ef7dccc11.zip gdb-a59fe496df017e2d4f67dfa6eecf243ef7dccc11.tar.gz gdb-a59fe496df017e2d4f67dfa6eecf243ef7dccc11.tar.bz2 |
2003-06-16 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (SAVE_DUMMY_FRAME_TOS): Deprecate.
* gdbarch.h, gdbarch.c: Re-generate.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* infcall.c (call_function_by_hand): Update.
* ia64-tdep.c (ia64_push_arguments): Update comment.
* frame.c (legacy_get_prev_frame): Do not assume
SAVE_DUMMY_FRAME_TOS_P.
* dummy-frame.c (find_dummy_frame): Update comment.
Diffstat (limited to 'gdb/ia64-tdep.c')
-rw-r--r-- | gdb/ia64-tdep.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/gdb/ia64-tdep.c b/gdb/ia64-tdep.c index 8dc786c..63ebbeb 100644 --- a/gdb/ia64-tdep.c +++ b/gdb/ia64-tdep.c @@ -2002,14 +2002,15 @@ ia64_push_arguments (int nargs, struct value **args, CORE_ADDR sp, /* Sync gdb's idea of what the registers are with the target. */ target_store_registers (-1); - /* FIXME: This doesn't belong here! Instead, SAVE_DUMMY_FRAME_TOS needs - to be defined to call generic_save_dummy_frame_tos(). But at the - time of this writing, SAVE_DUMMY_FRAME_TOS wasn't gdbarch'd, so - I chose to put this call here instead of using the old mechanisms. - Once SAVE_DUMMY_FRAME_TOS is gdbarch'd, all we need to do is add the - line - - set_gdbarch_save_dummy_frame_tos (gdbarch, generic_save_dummy_frame_tos); + /* FIXME: This doesn't belong here! Instead, + DEPRECATED_SAVE_DUMMY_FRAME_TOS needs to be defined to call + generic_save_dummy_frame_tos(). But at the time of this writing, + DEPRECATED_SAVE_DUMMY_FRAME_TOS wasn't gdbarch'd, so I chose to + put this call here instead of using the old mechanisms. Once + DEPRECATED_SAVE_DUMMY_FRAME_TOS is gdbarch'd, all we need to do + is add the line + + set_gdbarch_deprecated_save_dummy_frame_tos (gdbarch, generic_save_dummy_frame_tos); to ia64_gdbarch_init() and remove the line below. */ generic_save_dummy_frame_tos (sp); |