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.
This commit is contained in:
Andrew Cagney 2004-05-01 15:34:49 +00:00
parent 17e20bce79
commit f2524b93f3
7 changed files with 26 additions and 11 deletions

View file

@ -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;