diff options
author | Jason Thorpe <thorpej@netbsd.org> | 2002-04-26 07:05:35 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@netbsd.org> | 2002-04-26 07:05:35 +0000 |
commit | 5868c862e2d178996aa66bf3553a6f59d1516e2e (patch) | |
tree | 97e07909585ce1ef25f0d67967be24a860bc5f98 /gdb/alpha-tdep.h | |
parent | fd55a5dffb1d01e996ee08190487983ff4d974aa (diff) | |
download | gdb-5868c862e2d178996aa66bf3553a6f59d1516e2e.zip gdb-5868c862e2d178996aa66bf3553a6f59d1516e2e.tar.gz gdb-5868c862e2d178996aa66bf3553a6f59d1516e2e.tar.bz2 |
* 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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/alpha-tdep.h b/gdb/alpha-tdep.h index 8b1cf3e..c3ee007 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. */ |