diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-05-01 15:34:49 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-05-01 15:34:49 +0000 |
commit | f2524b93f342c757b14cc16595e00833aaaa49b5 (patch) | |
tree | b975a5ab4c46cb3be345643d5f0ce03df82af1d5 /gdb/alpha-tdep.h | |
parent | 17e20bce79d64f0856cd38d3e00b56beb6fa7e8c (diff) | |
download | gdb-f2524b93f342c757b14cc16595e00833aaaa49b5.zip gdb-f2524b93f342c757b14cc16595e00833aaaa49b5.tar.gz gdb-f2524b93f342c757b14cc16595e00833aaaa49b5.tar.bz2 |
2004-05-01 Andrew Cagney <cagney@redhat.com>
* alpha-tdep.c (alpha_sigtramp_frame_sniffer): Use pc_in_sigtramp.
* alpha-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp.
* alphafbsd-tdep.c (alphafbsd_init_abi): Update.
* alpha-osf1-tdep.c (alpha_osf1_init_abi): Update.
* alpha-linux-tdep.c (alpha_linux_init_abi): Update.
Diffstat (limited to 'gdb/alpha-tdep.h')
-rw-r--r-- | gdb/alpha-tdep.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/alpha-tdep.h b/gdb/alpha-tdep.h index 828a3c6..b1b8516 100644 --- a/gdb/alpha-tdep.h +++ b/gdb/alpha-tdep.h @@ -83,6 +83,12 @@ struct gdbarch_tdep the sigcontext structure for that signal handler. */ CORE_ADDR (*sigcontext_addr) (struct frame_info *); + /* 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 simplier per-architecture + sigtramp unwinders. */ + int (*pc_in_sigtramp) (CORE_ADDR pc, char *name); + /* Offset of registers in `struct sigcontext'. */ int sc_pc_offset; int sc_regs_offset; |