summaryrefslogtreecommitdiff
path: root/gdb/alpha-tdep.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-07-11 21:49:04 +0000
committerMark Kettenis <kettenis@gnu.org>2003-07-11 21:49:04 +0000
commitc039518ceb423fb8e659794742a3f5be4d0639cc (patch)
treebeb69e355ca65c6ade3995bebca45f777965766f /gdb/alpha-tdep.h
parentfca013c6f65f5d50502a1e043f5a66fb2c616c0a (diff)
downloadgdb-c039518ceb423fb8e659794742a3f5be4d0639cc.tar.gz
* alpha-tdep.h (struct gdbarch_tdep): Add members `sc_pc_offset',
`sc_regs_offset' and `sc_fpregs_offset'. * alpha-tdep.c (SIGFRAME_PC_OFF, SIGFRAME_REGSAVE_OFF, SIGFRAME_FPREGSAVE_OFF): Remove defines. (alpha_sigtramp_register_address): Rewrite to use new members of `struct gdbarch_tdep'. (alpha_gdbarch_init): Initialize new members of struct gdbarch_tdep'. * alphafbsd-tdep.c (alphafbsd_use_struct_convention): Use ALPHA_REGISTER_SIZE instead of DEPRECATED_REGISTER_SIZE. (alphafbsd_sigtramp_start, alphafbsd_sigtramp_end): Nre variables. (alphafbsd_pc_in_sigtramp): Implement. (alphafbsd_sigtramp_offset): New function. (alphafbsd_sigcontext_addr): New function. (alphafbsd_init_abi): Initialize signal trampoline related members of `struct gdbarch_tdep'. (_initialize_alphafbsd_tdep): Add prototype.
Diffstat (limited to 'gdb/alpha-tdep.h')
-rw-r--r--gdb/alpha-tdep.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/alpha-tdep.h b/gdb/alpha-tdep.h
index c0e28e65772..9afe7be5f53 100644
--- a/gdb/alpha-tdep.h
+++ b/gdb/alpha-tdep.h
@@ -82,6 +82,11 @@ struct gdbarch_tdep
the sigcontext structure for that signal handler. */
CORE_ADDR (*sigcontext_addr) (struct frame_info *);
+ /* Offset of registers in `struct sigcontext'. */
+ int sc_pc_offset;
+ int sc_regs_offset;
+ int sc_fpregs_offset;
+
int jb_pc; /* Offset to PC value in jump buffer.
If htis is negative, longjmp support
will be disabled. */