summaryrefslogtreecommitdiff
path: root/gdb/alpha-tdep.h
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@netbsd.org>2002-04-26 07:05:35 +0000
committerJason Thorpe <thorpej@netbsd.org>2002-04-26 07:05:35 +0000
commit66ae223a575ced93b202a1ca5c0934420bc59c23 (patch)
treedf5f981bc9738148a6d926c682494f97f9a8956a /gdb/alpha-tdep.h
parent80f497f3b3366c02eed0bdfa751f0c17fc83d417 (diff)
downloadgdb-66ae223a575ced93b202a1ca5c0934420bc59c23.tar.gz
* alpha-tdep.h (gdbarch_tdep): Add sigcontext_addr member.
* alpha-tdep.c (alpha_sigcontext_addr): New function. (alpha_find_saved_regs): Use alpha_sigcontext_addr. (alpha_gdbarch_init): Initialize tdep->sigcontext_addr. * alpha-linux-tdep.c: Include frame.h. (alpha_linux_sigcontext_addr): New function. (alpha_linux_init_abi): Set tdep->sigcontext_addr to alpha_linux_sigcontext_addr. * alpha-osf1-tdep.c: Include gdbcore.h. (alpha_osf1_sigcontext_addr): New function. (alpha_osf1_init_abi): Set tdep->sigcontext_addr to alpha_osf1_sigcontext_addr. * config/alpha/tm-alpha.h (SIGCONTEXT_ADDR): Remove. * config/alpha/tm-alphalinux.h (SIGCONTEXT_ADDR): Remove.
Diffstat (limited to 'gdb/alpha-tdep.h')
-rw-r--r--gdb/alpha-tdep.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/alpha-tdep.h b/gdb/alpha-tdep.h
index 8b1cf3ece6b..c3ee007c6ac 100644
--- a/gdb/alpha-tdep.h
+++ b/gdb/alpha-tdep.h
@@ -106,6 +106,10 @@ struct gdbarch_tdep
frame. */
CORE_ADDR (*skip_sigtramp_frame) (struct frame_info *, CORE_ADDR);
+ /* Translate a signal handler frame into the address of the sigcontext
+ structure for that signal handler. */
+ CORE_ADDR (*sigcontext_addr) (struct frame_info *);
+
int jb_pc; /* Offset to PC value in jump buffer.
If htis is negative, longjmp support
will be disabled. */