aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@netbsd.org>2002-04-25 05:06:08 +0000
committerJason Thorpe <thorpej@netbsd.org>2002-04-25 05:06:08 +0000
commit6c72f9f97456e7309006148460d9a2aee4088016 (patch)
tree340d9e34963b4a93721b694da111e334110801e9 /gdb/config
parent5e4f33793e2962028256c9b0bf6347e882001d6b (diff)
downloadgdb-6c72f9f97456e7309006148460d9a2aee4088016.zip
gdb-6c72f9f97456e7309006148460d9a2aee4088016.tar.gz
gdb-6c72f9f97456e7309006148460d9a2aee4088016.tar.bz2
* alpha-linux-tdep.c (alpha_linux_pc_in_sigtramp): New function.
(alpha_linux_init_abi): Set gdbarch_pc_in_sigtramp to alpha_linux_pc_in_sigtramp. * alpha-osf1-tdep.c (alpha_osf1_pc_in_sigtramp): New function. (alpha_osf1_init_abi): Set gdbarch_pc_in_sigtramp to alpha_osf1_pc_in_sigtramp. * alpha-tdep.c (alpha_osf_in_sigtramp): Remove. * alphafbsd-tdep.c (alphafbsd_pc_in_sigtramp): New function. (alphafbsd_init_abi): Set gdbarch_pc_in_sigtramp to alphafbsd_pc_in_sigtramp. * alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): New function. (alphanbsd_init_abi): Set gdbarch_pc_in_sigtramp to alphanbsd_pc_in_sigtramp. * config/alpha/tm-alpha.h (IN_SIGTRAMP): Remove. * config/alpha/tm-alphalinux.h (IN_SIGTRAMP): Remove.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/alpha/tm-alpha.h5
-rw-r--r--gdb/config/alpha/tm-alphalinux.h7
2 files changed, 1 insertions, 11 deletions
diff --git a/gdb/config/alpha/tm-alpha.h b/gdb/config/alpha/tm-alpha.h
index 61d9561..a379332 100644
--- a/gdb/config/alpha/tm-alpha.h
+++ b/gdb/config/alpha/tm-alpha.h
@@ -45,11 +45,6 @@ struct symbol;
#define FUNCTION_START_OFFSET 0
-/* Are we currently handling a signal ? */
-
-#define IN_SIGTRAMP(pc, name) alpha_osf_in_sigtramp ((pc), (name))
-extern int alpha_osf_in_sigtramp (CORE_ADDR, char *);
-
#define BREAKPOINT {0x80, 0, 0, 0} /* call_pal bpt */
/* Special symbol found in blocks associated with routines. We can hang
diff --git a/gdb/config/alpha/tm-alphalinux.h b/gdb/config/alpha/tm-alphalinux.h
index 0235758..fae1743 100644
--- a/gdb/config/alpha/tm-alphalinux.h
+++ b/gdb/config/alpha/tm-alphalinux.h
@@ -27,14 +27,9 @@
#include "alpha/tm-alpha.h"
-/* Are we currently handling a signal ? */
-
-extern LONGEST alpha_linux_sigtramp_offset (CORE_ADDR);
-#undef IN_SIGTRAMP
-#define IN_SIGTRAMP(pc, name) (alpha_linux_sigtramp_offset (pc) >= 0)
-
/* Get start and end address of sigtramp handler. */
+extern LONGEST alpha_linux_sigtramp_offset (CORE_ADDR);
#define SIGTRAMP_START(pc) (pc - alpha_linux_sigtramp_offset (pc))
#define SIGTRAMP_END(pc) (SIGTRAMP_START(pc) + 3*4)