From c8864fa247bb6a884fdbd3030cc029e7bce7010f Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 1 May 2004 14:15:19 +0000 Subject: 2004-05-01 Andrew Cagney * infrun.c (check_sigtramp2): Delete check for DEPRECATED_PC_IN_SIGTRAMP and INNER_THAN. --- gdb/ChangeLog | 5 +++++ gdb/infrun.c | 8 -------- 2 files changed, 5 insertions(+), 8 deletions(-) (limited to 'gdb') 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 + + * infrun.c (check_sigtramp2): Delete check for + DEPRECATED_PC_IN_SIGTRAMP and INNER_THAN. + 2004-05-01 Mark Kettenis * 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 -- cgit v1.1