diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-04-30 23:47:56 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-04-30 23:47:56 +0000 |
commit | 0b28193902cbdabf1f3a42610aeefa5a0fc812e3 (patch) | |
tree | 37f234e1cc6c1accc95a8990721933432dc4107f /gdb | |
parent | 8f2d3ea0006e69b704208e27f31171c135a6e473 (diff) | |
download | binutils-gdb-0b28193902cbdabf1f3a42610aeefa5a0fc812e3.tar.gz |
2004-04-30 Andrew Cagney <cagney@redhat.com>
* arm-tdep.c (arm_sigtramp_unwind_sniffer): Call legacy_pc_in_sigtramp.
* ia64-tdep.c (ia64_sigtramp_frame_sniffer): Ditto.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/arm-tdep.c | 7 | ||||
-rw-r--r-- | gdb/ia64-tdep.c | 2 |
3 files changed, 8 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a164857a436..3dbe00b7e09 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2004-04-30 Andrew Cagney <cagney@redhat.com> + + * arm-tdep.c (arm_sigtramp_unwind_sniffer): Call + legacy_pc_in_sigtramp. + * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Ditto. + 2004-05-01 Mark Kettenis <kettenis@gnu.org> Add OpenBSD/m68k support. diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 1cd0b1c3427..57949e15d67 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -1135,13 +1135,8 @@ struct frame_unwind arm_sigtramp_unwind = { static const struct frame_unwind * arm_sigtramp_unwind_sniffer (struct frame_info *next_frame) { - /* Note: If an ARM DEPRECATED_PC_IN_SIGTRAMP method ever needs to - compare against the name of the function, the code below will - have to be changed to first fetch the name of the function and - then pass this name to DEPRECATED_PC_IN_SIGTRAMP. */ - if (SIGCONTEXT_REGISTER_ADDRESS_P () - && DEPRECATED_PC_IN_SIGTRAMP (frame_pc_unwind (next_frame), (char *) 0)) + && legacy_pc_in_sigtramp (frame_pc_unwind (next_frame), (char *) 0)) return &arm_sigtramp_unwind; return NULL; diff --git a/gdb/ia64-tdep.c b/gdb/ia64-tdep.c index aefd3e3c8eb..06c8a4db213 100644 --- a/gdb/ia64-tdep.c +++ b/gdb/ia64-tdep.c @@ -2048,7 +2048,7 @@ ia64_sigtramp_frame_sniffer (struct frame_info *next_frame) CORE_ADDR pc = frame_pc_unwind (next_frame); find_pc_partial_function (pc, &name, NULL, NULL); - if (DEPRECATED_PC_IN_SIGTRAMP (pc, name)) + if (legacy_pc_in_sigtramp (pc, name)) return &ia64_sigtramp_frame_unwind; return NULL; |