aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386bsd-tdep.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2002-09-06 20:44:23 +0000
committerMark Kettenis <kettenis@gnu.org>2002-09-06 20:44:23 +0000
commit4b218c187454d94e6a935f048a3aefd94d646f20 (patch)
tree7905d769f2f64b631e5f73de3ed9873b08ef1f04 /gdb/i386bsd-tdep.c
parent0b3a6a28f9703a49706ebeab14c1c50751ef2fbd (diff)
downloadgdb-4b218c187454d94e6a935f048a3aefd94d646f20.zip
gdb-4b218c187454d94e6a935f048a3aefd94d646f20.tar.gz
gdb-4b218c187454d94e6a935f048a3aefd94d646f20.tar.bz2
* i386bsd-tdep.c (i386bsd_init_abi): Set sigtramp_start and
sigtramp_end to i386bsd_sigtramp_start and i386bsd_sigtramp_end. * i386nbsd-tdep.c (i386nbsd_init_abi): Set sigtramp_start and sigtramp_end to NULL. * config/i386/tm-fbsd.h (SIGTRAMP_START, SIGTRAMP_END): Remove defines. (i386bsd_sigtramp_start, i386_sigtramp_end): Remove prototypes.
Diffstat (limited to 'gdb/i386bsd-tdep.c')
-rw-r--r--gdb/i386bsd-tdep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/i386bsd-tdep.c b/gdb/i386bsd-tdep.c
index 368fa56..a760123 100644
--- a/gdb/i386bsd-tdep.c
+++ b/gdb/i386bsd-tdep.c
@@ -100,6 +100,10 @@ i386bsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
set_gdbarch_pc_in_sigtramp (gdbarch, i386bsd_pc_in_sigtramp);
+ /* Allow the recognition of sigtramps as a function named <sigtramp>. */
+ set_gdbarch_sigtramp_start (gdbarch, i386bsd_sigtramp_start);
+ set_gdbarch_sigtramp_end (gdbarch, i386bsd_sigtramp_end);
+
/* Assume SunOS-style shared libraries. */
set_gdbarch_in_solib_call_trampoline (gdbarch,
i386bsd_aout_in_solib_call_trampoline);