diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-05-01 13:14:20 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-05-01 13:14:20 +0000 |
commit | 8c6b0e0607561669f0290799833e2a80a5978a81 (patch) | |
tree | ef1d31eecac1301dfef78cbff8dcbc4473c72cd5 /gdb/gdbarch.h | |
parent | 03ac2a74f949f0ff3796e2d0a083ac6d88e16c20 (diff) | |
download | gdb-8c6b0e0607561669f0290799833e2a80a5978a81.zip gdb-8c6b0e0607561669f0290799833e2a80a5978a81.tar.gz gdb-8c6b0e0607561669f0290799833e2a80a5978a81.tar.bz2 |
2004-05-01 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_SIGTRAMP_START)
(DEPRECATED_SIGTRAMP_END): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* arch-utils.c (legacy_pc_in_sigtramp): Simplify.
* config/vax/tm-vaxbsd.h: Update copyright.
(DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete.
(DEPRECATED_IN_SIGTRAMP): Define.
* config/m68k/tm-nbsd.h: Update copyright.
(DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete.
(DEPRECATED_IN_SIGTRAMP): Define.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r-- | gdb/gdbarch.h | 53 |
1 files changed, 1 insertions, 52 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index b7dfa8f..033d82f 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -2064,8 +2064,7 @@ extern void set_gdbarch_in_solib_return_trampoline (struct gdbarch *gdbarch, gdb #define IN_SOLIB_RETURN_TRAMPOLINE(pc, name) (gdbarch_in_solib_return_trampoline (current_gdbarch, pc, name)) #endif -/* NOTE: cagney/2004-03-23: DEPRECATED_SIGTRAMP_START, - DEPRECATED_SIGTRAMP_END, and DEPRECATED_PC_IN_SIGTRAMP have all been +/* NOTE: cagney/2004-03-23: DEPRECATED_PC_IN_SIGTRAMP have all been superseeded by signal trampoline frame sniffers. */ #if defined (DEPRECATED_PC_IN_SIGTRAMP) @@ -2093,56 +2092,6 @@ extern void set_gdbarch_deprecated_pc_in_sigtramp (struct gdbarch *gdbarch, gdba #define DEPRECATED_PC_IN_SIGTRAMP(pc, name) (gdbarch_deprecated_pc_in_sigtramp (current_gdbarch, pc, name)) #endif -#if defined (DEPRECATED_SIGTRAMP_START) -/* Legacy for systems yet to multi-arch DEPRECATED_SIGTRAMP_START */ -#if !defined (DEPRECATED_SIGTRAMP_START_P) -#define DEPRECATED_SIGTRAMP_START_P() (1) -#endif -#endif - -extern int gdbarch_deprecated_sigtramp_start_p (struct gdbarch *gdbarch); -#if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) && defined (DEPRECATED_SIGTRAMP_START_P) -#error "Non multi-arch definition of DEPRECATED_SIGTRAMP_START" -#endif -#if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) || !defined (DEPRECATED_SIGTRAMP_START_P) -#define DEPRECATED_SIGTRAMP_START_P() (gdbarch_deprecated_sigtramp_start_p (current_gdbarch)) -#endif - -typedef CORE_ADDR (gdbarch_deprecated_sigtramp_start_ftype) (CORE_ADDR pc); -extern CORE_ADDR gdbarch_deprecated_sigtramp_start (struct gdbarch *gdbarch, CORE_ADDR pc); -extern void set_gdbarch_deprecated_sigtramp_start (struct gdbarch *gdbarch, gdbarch_deprecated_sigtramp_start_ftype *deprecated_sigtramp_start); -#if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) && defined (DEPRECATED_SIGTRAMP_START) -#error "Non multi-arch definition of DEPRECATED_SIGTRAMP_START" -#endif -#if !defined (DEPRECATED_SIGTRAMP_START) -#define DEPRECATED_SIGTRAMP_START(pc) (gdbarch_deprecated_sigtramp_start (current_gdbarch, pc)) -#endif - -#if defined (DEPRECATED_SIGTRAMP_END) -/* Legacy for systems yet to multi-arch DEPRECATED_SIGTRAMP_END */ -#if !defined (DEPRECATED_SIGTRAMP_END_P) -#define DEPRECATED_SIGTRAMP_END_P() (1) -#endif -#endif - -extern int gdbarch_deprecated_sigtramp_end_p (struct gdbarch *gdbarch); -#if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) && defined (DEPRECATED_SIGTRAMP_END_P) -#error "Non multi-arch definition of DEPRECATED_SIGTRAMP_END" -#endif -#if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) || !defined (DEPRECATED_SIGTRAMP_END_P) -#define DEPRECATED_SIGTRAMP_END_P() (gdbarch_deprecated_sigtramp_end_p (current_gdbarch)) -#endif - -typedef CORE_ADDR (gdbarch_deprecated_sigtramp_end_ftype) (CORE_ADDR pc); -extern CORE_ADDR gdbarch_deprecated_sigtramp_end (struct gdbarch *gdbarch, CORE_ADDR pc); -extern void set_gdbarch_deprecated_sigtramp_end (struct gdbarch *gdbarch, gdbarch_deprecated_sigtramp_end_ftype *deprecated_sigtramp_end); -#if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) && defined (DEPRECATED_SIGTRAMP_END) -#error "Non multi-arch definition of DEPRECATED_SIGTRAMP_END" -#endif -#if !defined (DEPRECATED_SIGTRAMP_END) -#define DEPRECATED_SIGTRAMP_END(pc) (gdbarch_deprecated_sigtramp_end (current_gdbarch, pc)) -#endif - /* A target might have problems with watchpoints as soon as the stack frame of the current function has been destroyed. This mostly happens as the first action in a funtion's epilogue. in_function_epilogue_p() |