summaryrefslogtreecommitdiff
path: root/gdb/config/i386/tm-nbsd.h
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@netbsd.org>2002-09-02 16:35:14 +0000
committerJason Thorpe <thorpej@netbsd.org>2002-09-02 16:35:14 +0000
commitf223cc7a28efc0c450ebea2709fe3be42366ca66 (patch)
tree05d5f4afa87fc9fa1529d3b3f6c275c8b00a1dd2 /gdb/config/i386/tm-nbsd.h
parent4d8c7c39fc65fdc600c53456b12ae72357b5b047 (diff)
downloadgdb-f223cc7a28efc0c450ebea2709fe3be42366ca66.tar.gz
* i386nbsd-tdep.c (i386nbsd_sigtramp_offset): New function.
(i386nbsd_pc_in_sigtramp): Rewrite to use i386nbsd_sigtramp_offset. (i386nbsd_init_abi): Don't initialize tdep->sigtramp_start or tdep->sigtramp_end. (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end): Remove. * config/i386/tm-nbsd.h (SIGTRAMP_START, SIGTRAMP_END) (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Remove.
Diffstat (limited to 'gdb/config/i386/tm-nbsd.h')
-rw-r--r--gdb/config/i386/tm-nbsd.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/config/i386/tm-nbsd.h b/gdb/config/i386/tm-nbsd.h
index 0d73d3a0d96..d7c79d7ba1d 100644
--- a/gdb/config/i386/tm-nbsd.h
+++ b/gdb/config/i386/tm-nbsd.h
@@ -23,16 +23,4 @@
#include "i386/tm-i386.h"
-/* These defines allow the recognition of sigtramps as a function name
- <sigtramp>.
-
- FIXME: kettenis/2002-05-12: Of course these defines will have to go
- if we go truly "multi-arch", but I don't know yet how to get rid of
- them. */
-
-#define SIGTRAMP_START(pc) i386bsd_sigtramp_start (pc)
-#define SIGTRAMP_END(pc) i386bsd_sigtramp_end (pc)
-extern CORE_ADDR i386bsd_sigtramp_start (CORE_ADDR pc);
-extern CORE_ADDR i386bsd_sigtramp_end (CORE_ADDR pc);
-
#endif /* TM_NBSD_H */