aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-05-01 14:15:19 +0000
committerAndrew Cagney <cagney@redhat.com>2004-05-01 14:15:19 +0000
commitc8864fa247bb6a884fdbd3030cc029e7bce7010f (patch)
tree49703eed97914f6b659ec95bb92e4e223f9bd0ba
parent511dd2cd07f5551a7478c7aae5350f78266f9c33 (diff)
downloadgdb-c8864fa247bb6a884fdbd3030cc029e7bce7010f.zip
gdb-c8864fa247bb6a884fdbd3030cc029e7bce7010f.tar.gz
gdb-c8864fa247bb6a884fdbd3030cc029e7bce7010f.tar.bz2
2004-05-01 Andrew Cagney <cagney@redhat.com>
* infrun.c (check_sigtramp2): Delete check for DEPRECATED_PC_IN_SIGTRAMP and INNER_THAN.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/infrun.c8
2 files changed, 5 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 63f0f28..0dde772 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2004-05-01 Andrew Cagney <cagney@redhat.com>
+
+ * infrun.c (check_sigtramp2): Delete check for
+ DEPRECATED_PC_IN_SIGTRAMP and INNER_THAN.
+
2004-05-01 Mark Kettenis <kettenis@gnu.org>
* m68k-tdep.h (m68kbsd_fpreg_offset): New prototype.
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 5f11475..4e12744 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -2715,14 +2715,6 @@ check_sigtramp2 (struct execution_control_state *ecs)
return;
if (get_frame_type (get_current_frame ()) != SIGTRAMP_FRAME)
return;
- /* Long term, this function can be eliminated, replaced by the code:
- get_frame_type(current_frame()) == SIGTRAMP_FRAME (for new
- architectures this is very cheap). */
- find_pc_partial_function (prev_pc, &name, NULL, NULL);
- if (DEPRECATED_PC_IN_SIGTRAMP (prev_pc, name))
- return;
- if (!INNER_THAN (read_sp (), step_sp))
- return;
/* So we need to set a step_resume_break_address breakpoint and
continue until we hit it, and then step. FIXME: This should be