aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-04-30 23:47:56 +0000
committerAndrew Cagney <cagney@redhat.com>2004-04-30 23:47:56 +0000
commit0b28193902cbdabf1f3a42610aeefa5a0fc812e3 (patch)
tree37f234e1cc6c1accc95a8990721933432dc4107f /gdb/arm-tdep.c
parent8f2d3ea0006e69b704208e27f31171c135a6e473 (diff)
downloadgdb-0b28193902cbdabf1f3a42610aeefa5a0fc812e3.zip
gdb-0b28193902cbdabf1f3a42610aeefa5a0fc812e3.tar.gz
gdb-0b28193902cbdabf1f3a42610aeefa5a0fc812e3.tar.bz2
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/arm-tdep.c')
-rw-r--r--gdb/arm-tdep.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 1cd0b1c..57949e1 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;