2004-04-30 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Fri, 30 Apr 2004 23:47:56 +0000 (23:47 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 30 Apr 2004 23:47:56 +0000 (23:47 +0000)
* arm-tdep.c (arm_sigtramp_unwind_sniffer): Call legacy_pc_in_sigtramp.
* ia64-tdep.c (ia64_sigtramp_frame_sniffer): Ditto.

gdb/ChangeLog
gdb/arm-tdep.c
gdb/ia64-tdep.c

index a164857a4366f26e336ab1380a4edad9657c0d9f..3dbe00b7e098fc2bce284481148fb66c1fde8f22 100644 (file)
@@ -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.
index 1cd0b1c3427d398da1aebf5899be070428f1593e..57949e15d67245ea33eecc71e5765558b1aa7abc 100644 (file)
@@ -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;
index aefd3e3c8ebfa847604e4b8b474811559eae52ce..06c8a4db213d32fe20d6f295a5ca661cc592de8c 100644 (file)
@@ -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;