static const struct frame_unwind * sparc64fbsd_sigtramp_frame_sniffer(struct frame_info *next_frame) { CORE_ADDR pc = frame_pc_unwind(next_frame); const char *name; find_pc_partial_function(pc, &name, NULL, NULL); if (sparc64fbsd_pc_in_sigtramp(pc, name)) return &sparc64fbsd_sigtramp_frame_unwind; return NULL; }
static int sparc64fbsd_sigtramp_frame_sniffer (const struct frame_unwind *self, struct frame_info *this_frame, void **this_cache) { CORE_ADDR pc = get_frame_pc (this_frame); const char *name; find_pc_partial_function (pc, &name, NULL, NULL); if (sparc64fbsd_pc_in_sigtramp (pc, name)) return 1; return 0; }