aboutsummaryrefslogtreecommitdiff
path: root/gdb/alphanbsd-tdep.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2003-06-04 05:44:13 +0000
committerJoel Brobecker <brobecker@gnat.com>2003-06-04 05:44:13 +0000
commit4035536ba42162e512bc4462faad04c908c9f0f9 (patch)
tree8acd7ed4cdc643c4ad91a9eef6d3c6f0a7c78030 /gdb/alphanbsd-tdep.c
parent0bd79c5c09b8a12da3eeb466c9e3613e8d318a7a (diff)
downloadgdb-4035536ba42162e512bc4462faad04c908c9f0f9.zip
gdb-4035536ba42162e512bc4462faad04c908c9f0f9.tar.gz
gdb-4035536ba42162e512bc4462faad04c908c9f0f9.tar.bz2
* alphanbsd-tdep.c (alphanbsd_skip_sigtramp_frame): Delete.
(alphanbsd_init_abi): Do not set skip_sigtramp_frame in tdep structure, field no longer exists.
Diffstat (limited to 'gdb/alphanbsd-tdep.c')
-rw-r--r--gdb/alphanbsd-tdep.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/gdb/alphanbsd-tdep.c b/gdb/alphanbsd-tdep.c
index 22d2070..4a6faf3 100644
--- a/gdb/alphanbsd-tdep.c
+++ b/gdb/alphanbsd-tdep.c
@@ -192,20 +192,6 @@ alphanbsd_sigcontext_addr (struct frame_info *frame)
return frame->frame;
}
-static CORE_ADDR
-alphanbsd_skip_sigtramp_frame (struct frame_info *frame, CORE_ADDR pc)
-{
- char *name;
-
- /* FIXME: This is not correct for all versions of NetBSD/alpha.
- We will probably need to disassemble the trampoline to figure
- out which trampoline frame type we have. */
- find_pc_partial_function (pc, &name, (CORE_ADDR *) NULL, (CORE_ADDR *) NULL);
- if (PC_IN_SIGTRAMP (pc, name))
- return frame->frame;
- return 0;
-}
-
static void
alphanbsd_init_abi (struct gdbarch_info info,
struct gdbarch *gdbarch)
@@ -221,7 +207,6 @@ alphanbsd_init_abi (struct gdbarch_info info,
set_solib_svr4_fetch_link_map_offsets (gdbarch,
nbsd_lp64_solib_svr4_fetch_link_map_offsets);
- tdep->skip_sigtramp_frame = alphanbsd_skip_sigtramp_frame;
tdep->dynamic_sigtramp_offset = alphanbsd_sigtramp_offset;
tdep->sigcontext_addr = alphanbsd_sigcontext_addr;