summaryrefslogtreecommitdiff
path: root/gdb/alpha-tdep.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-05-01 15:34:49 +0000
committerAndrew Cagney <cagney@redhat.com>2004-05-01 15:34:49 +0000
commitf2524b93f342c757b14cc16595e00833aaaa49b5 (patch)
treeb975a5ab4c46cb3be345643d5f0ce03df82af1d5 /gdb/alpha-tdep.h
parent17e20bce79d64f0856cd38d3e00b56beb6fa7e8c (diff)
downloadbinutils-gdb-f2524b93f342c757b14cc16595e00833aaaa49b5.tar.gz
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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/alpha-tdep.h b/gdb/alpha-tdep.h
index 828a3c6b2f7..b1b8516bc7c 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;