aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/m68k/tm-nbsd.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-05-04 23:47:15 +0000
committerMark Kettenis <kettenis@gnu.org>2004-05-04 23:47:15 +0000
commit827f338d26249fc3e9e8798baa7f50c922c6875f (patch)
tree04a3fbb14a8fef901932ab32a25349481e09ce34 /gdb/config/m68k/tm-nbsd.h
parent619874a6bd0cc10b0562fde77f546c0dd8c99f19 (diff)
downloadfsf-binutils-gdb-827f338d26249fc3e9e8798baa7f50c922c6875f.zip
fsf-binutils-gdb-827f338d26249fc3e9e8798baa7f50c922c6875f.tar.gz
fsf-binutils-gdb-827f338d26249fc3e9e8798baa7f50c922c6875f.tar.bz2
* m68knbsd-nat.c: Remove file.
* m68knbsd-tdep.c: Remove file. * Makefile.in: (m68knbsd-nat.o, m68knbsd-tdep.o): Remove dependencies. * configure.host: Add m68k-*-netbsdelf*. * configure.tgt (m68k-*-netbsd*): Set gdb_target to nbsd. * config/m68k/nbsdaout.mh (NATDEPFILES): Add m68kbsd-nat.o, solib.o and solib-sunos.o. Remove m68knbsd-nat.o, corelow.o. (XM_FILE): Remove. * config/m68k/nbsdelf.mh: New file. * config/m68k/nbsd.mt: New file. * config/m68k/nbsdaout.mt: Remove file. * config/m68k/tm-nbsd.h: Don't include <sys/param.h>, <machine/vmparam.h> and "m68k/tm-m68k.h". Include "solib.h". (BPT_VECTOR, STACK_END_ADDR): Remove defines. (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Likewise. (use_struct_convention): Remove prototype. (USE_STRUCT_CONVENTION): Remove define. * config/m68k/xm-nbsd.h: Remove file.
Diffstat (limited to 'gdb/config/m68k/tm-nbsd.h')
-rw-r--r--gdb/config/m68k/tm-nbsd.h28
1 files changed, 3 insertions, 25 deletions
diff --git a/gdb/config/m68k/tm-nbsd.h b/gdb/config/m68k/tm-nbsd.h
index 04a5272..6215cf6 100644
--- a/gdb/config/m68k/tm-nbsd.h
+++ b/gdb/config/m68k/tm-nbsd.h
@@ -1,4 +1,4 @@
-/* Macro definitions for m68k running under NetBSD.
+/* Target-dependent definitions for NetBSD/m68k.
Copyright 1994, 1996, 2001, 2004 Free Software Foundation, Inc.
@@ -22,28 +22,6 @@
#ifndef TM_NBSD_H
#define TM_NBSD_H
-#include <sys/param.h>
-#include <machine/vmparam.h>
+#include "solib.h"
-/* Define BPT_VECTOR if it is different than the default.
- This is the vector number used by traps to indicate a breakpoint. */
-#define BPT_VECTOR 0xf
-
-/* Address of end of stack space. */
-#define STACK_END_ADDR USRSTACK
-
-/* For NetBSD, sigtramp is 32 bytes before STACK_END_ADDR. */
-#define DEPRECATED_IN_SIGTRAMP(PC,FUNC_NAME) \
-((PC) >= (STACK_END_ADDR - 32) && (PC) < (STACK_END_ADDR))
-
-#include "m68k/tm-m68k.h"
-
-/* Return non-zero if we are in a shared library trampoline code stub. */
-#define IN_SOLIB_CALL_TRAMPOLINE(pc, name) \
- (name && !strcmp(name, "_DYNAMIC"))
-
-extern use_struct_convention_fn m68knbsd_use_struct_convention;
-#define USE_STRUCT_CONVENTION(gcc_p, type) \
- m68knbsd_use_struct_convention(gcc_p, type)
-
-#endif /* TM_NBSD_H */
+#endif /* tm-nbsd.h */