From: Joel Brobecker Date: Wed, 4 Jun 2003 05:17:26 +0000 (+0000) Subject: * alpha-osf1-tdep.c (alpha_osf1_skip_sigtramp_frame): Delete. X-Git-Tag: ezannoni_pie-20030916-branchpoint~1406 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=852ee05c45d172bc2c9f54e839248a6059581a5a;p=platform%2Fupstream%2Fbinutils.git * alpha-osf1-tdep.c (alpha_osf1_skip_sigtramp_frame): Delete. (alpha_osf1_init_abi): Do not set skip_sigtramp_frame in tdep structure, field no longer exists. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0202a1e..763c53b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2003-06-03 J. Brobecker + + * alpha-osf1-tdep.c (alpha_osf1_skip_sigtramp_frame): Delete. + (alpha_osf1_init_abi): Do not set skip_sigtramp_frame in tdep + structure, field no longer exists. + 2003-06-03 Theodore A. Roth * remote.c (init_remote_state): Compute sizeof_g_packet by diff --git a/gdb/alpha-osf1-tdep.c b/gdb/alpha-osf1-tdep.c index 1c52329..29b5c08 100644 --- a/gdb/alpha-osf1-tdep.c +++ b/gdb/alpha-osf1-tdep.c @@ -28,19 +28,6 @@ #include "alpha-tdep.h" -/* Under OSF/1, the __sigtramp routine is frameless and has a frame - size of zero, but we are able to backtrace through it. */ -static CORE_ADDR -alpha_osf1_skip_sigtramp_frame (struct frame_info *frame, CORE_ADDR pc) -{ - char *name; - - find_pc_partial_function (pc, &name, (CORE_ADDR *) NULL, (CORE_ADDR *) NULL); - if (PC_IN_SIGTRAMP (pc, name)) - return frame->frame; - return 0; -} - static int alpha_osf1_pc_in_sigtramp (CORE_ADDR pc, char *func_name) { @@ -95,7 +82,6 @@ alpha_osf1_init_abi (struct gdbarch_info info, argument handling and bp_call_dummy takes care of stopping the dummy. */ set_gdbarch_call_dummy_address (gdbarch, alpha_call_dummy_address); - tdep->skip_sigtramp_frame = alpha_osf1_skip_sigtramp_frame; tdep->sigcontext_addr = alpha_osf1_sigcontext_addr; tdep->jb_pc = 2;