From 852ee05c45d172bc2c9f54e839248a6059581a5a Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Wed, 4 Jun 2003 05:17:26 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 6 ++++++ gdb/alpha-osf1-tdep.c | 14 -------------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0202a1efbbc..763c53b0b7e 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 1c52329d323..29b5c08ed5d 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; -- 2.30.2