From: Andrew Cagney Date: Sat, 1 May 2004 14:15:19 +0000 (+0000) Subject: 2004-05-01 Andrew Cagney X-Git-Tag: gprof-pre-ansify-2004-05-26~302 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c8864fa247bb6a884fdbd3030cc029e7bce7010f;p=thirdparty%2Fbinutils-gdb.git 2004-05-01 Andrew Cagney * infrun.c (check_sigtramp2): Delete check for DEPRECATED_PC_IN_SIGTRAMP and INNER_THAN. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 63f0f281b15..0dde7729c59 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 5f114750ea7..4e127444b94 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