aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2003-06-04 05:17:26 +0000
committerJoel Brobecker <brobecker@gnat.com>2003-06-04 05:17:26 +0000
commit852ee05c45d172bc2c9f54e839248a6059581a5a (patch)
tree0089b42d91976130b995ce67e7dd657fbe9f9da4 /gdb
parent7d58c67dbb8ad7f7094aa4d3dd85b60116593d04 (diff)
downloadgdb-852ee05c45d172bc2c9f54e839248a6059581a5a.zip
gdb-852ee05c45d172bc2c9f54e839248a6059581a5a.tar.gz
gdb-852ee05c45d172bc2c9f54e839248a6059581a5a.tar.bz2
* 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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/alpha-osf1-tdep.c14
2 files changed, 6 insertions, 14 deletions
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 <brobecker@gnat.com>
+
+ * 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 <troth@openavr.org>
* 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;