* sparc-nat.c: Include "inf-ptrace.h".
[binutils-gdb.git] / gdb / alpha-tdep.h
index 9afe7be5f53dbe813b03e8038bc15dbfc7969d7c..60cea0a5cb472715aef4c54290d790545c77b6f6 100644 (file)
@@ -23,7 +23,7 @@
 #define ALPHA_TDEP_H
 
 /* Say how long (ordinary) registers are.  This is a piece of bogosity
-   used in push_word and a few other places;  REGISTER_RAW_SIZE is the
+   used in push_word and a few other places; register_size() is the
    real way to know how big a register is.  */
 #define ALPHA_REGISTER_SIZE 8
 
@@ -82,6 +82,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;