static int alphanbsd_pc_in_sigtramp (struct gdbarch *gdbarch, CORE_ADDR pc, const char *func_name) { return (nbsd_pc_in_sigtramp (pc, func_name) || alphanbsd_sigtramp_offset (gdbarch, pc) >= 0); }
static int sparc32nbsd_pc_in_sigtramp (CORE_ADDR pc, char *name) { if (pc >= sparc32nbsd_sigtramp_start && pc < sparc32nbsd_sigtramp_end) return 1; return nbsd_pc_in_sigtramp (pc, name); }
static int amd64nbsd_sigtramp_p (struct frame_info *this_frame) { CORE_ADDR pc = get_frame_pc (this_frame); const char *name; find_pc_partial_function (pc, &name, NULL, NULL); return nbsd_pc_in_sigtramp (pc, name); }
static int i386nbsd_sigtramp_p (struct frame_info *next_frame) { CORE_ADDR pc = frame_pc_unwind (next_frame); char *name; find_pc_partial_function (pc, &name, NULL, NULL); return (nbsd_pc_in_sigtramp (pc, name) || i386nbsd_sigtramp_offset (next_frame) >= 0); }
static int ppcnbsd_pc_in_sigtramp (CORE_ADDR pc, char *func_name) { /* FIXME: Need to add support for kernel-provided signal trampolines. */ return (nbsd_pc_in_sigtramp (pc, func_name)); }
static int alphanbsd_pc_in_sigtramp (CORE_ADDR pc, char *func_name) { return (nbsd_pc_in_sigtramp (pc, func_name) || alphanbsd_sigtramp_offset (pc) >= 0); }