- LONGEST (*dynamic_sigtramp_offset) (CORE_ADDR);
-
- /* If FRAME refers to a sigtramp frame, return the address of the next
- frame. */
- CORE_ADDR (*skip_sigtramp_frame) (struct frame_info *, CORE_ADDR);
+ LONGEST (*dynamic_sigtramp_offset) (struct gdbarch *, CORE_ADDR) = nullptr;
+
+ /* Translate a signal handler stack base address into the address of
+ the sigcontext structure for that signal handler. */
+ CORE_ADDR (*sigcontext_addr) (struct frame_info *) = nullptr;
+
+ /* Does the PC fall in a signal trampoline. */
+ /* NOTE: cagney/2004-04-30: Do not copy/clone this code. Instead
+ look at tramp-frame.h and other simpler per-architecture
+ sigtramp unwinders. */
+ int (*pc_in_sigtramp) (struct gdbarch *gdbarch, CORE_ADDR pc,
+ const char *name) = nullptr;
+
+ /* If TYPE will be returned in memory, return true. */
+ int (*return_in_memory) (struct type *type) = nullptr;
+
+ /* Offset of registers in `struct sigcontext'. */
+ int sc_pc_offset = 0;
+ int sc_regs_offset = 0;
+ int sc_fpregs_offset = 0;
+
+ int jb_pc = 0; /* Offset to PC value in jump buffer.
+ If htis is negative, longjmp support
+ will be disabled. */
+ size_t jb_elt_size = 0; /* And the size of each entry in the buf. */