aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
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
commitd66198e1a79726cf2c4eac8cb9e9b25b40a928e6 (patch)
treedcd11dfabbeff1378bcae42abc421aac3d4fda97 /gdb/config
parent3e369e968e378f3025ec2a98382869b4d70f17fb (diff)
downloadgdb-d66198e1a79726cf2c4eac8cb9e9b25b40a928e6.zip
gdb-d66198e1a79726cf2c4eac8cb9e9b25b40a928e6.tar.gz
gdb-d66198e1a79726cf2c4eac8cb9e9b25b40a928e6.tar.bz2
* 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')
-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 0d73d3a..d7c79d7 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 */