mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-03 05:12:28 +08:00
* 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.
This commit is contained in:
@ -251,6 +251,11 @@ i386nbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
|
||||
|
||||
/* NetBSD has different signal trampoline conventions. */
|
||||
set_gdbarch_pc_in_sigtramp (gdbarch, i386nbsd_pc_in_sigtramp);
|
||||
/* FIXME: kettenis/20020906: We should probably provide
|
||||
NetBSD-specific versions of these functions if we want to
|
||||
recognize signal trampolines that live on the stack. */
|
||||
set_gdbarch_sigtramp_start (gdbarch, NULL);
|
||||
set_gdbarch_sigtramp_end (gdbarch, NULL);
|
||||
|
||||
/* NetBSD uses -freg-struct-return by default. */
|
||||
tdep->struct_return = reg_struct_return;
|
||||
|
Reference in New Issue
Block a user