aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-10-18 18:41:22 +0000
committerMark Kettenis <kettenis@gnu.org>2003-10-18 18:41:22 +0000
commitcced5e27e61ec91c00eecd61b48096f7e49b7141 (patch)
tree484866ad5e8755a1cde09bc72512daf41c291fa9 /gdb/config
parent89b7466f7671017df5609bcbfcf2e6d836517535 (diff)
downloadgdb-cced5e27e61ec91c00eecd61b48096f7e49b7141.zip
gdb-cced5e27e61ec91c00eecd61b48096f7e49b7141.tar.gz
gdb-cced5e27e61ec91c00eecd61b48096f7e49b7141.tar.bz2
Add NetBSD/amd64 native configuration:
* x86-64-tdep.h (amd64nbsd_r_reg_offset): Add extern declarations. * amd64nbsd-tdep.c: New file. * amd64nbsd-nat.c: New file. * amd64bsd-nat.c: New file. * config/i386/nbsd64.mh: New file. * config/i386/nbsd64.mt: New file. * configure.host: Add x86_64-*-netbsd*. * configure.tgt: Add x86_64-*-netbsd*. * Makefile.in (amd64bsd-nat.o, amd64nbsd-nat.o, amd64nbsd-tdep.o): New targets. * NEWS (New native configurations): Mention NetBSD/amd64.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/i386/nbsd64.mh7
-rw-r--r--gdb/config/i386/nbsd64.mt2
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/config/i386/nbsd64.mh b/gdb/config/i386/nbsd64.mh
new file mode 100644
index 0000000..5acd167
--- /dev/null
+++ b/gdb/config/i386/nbsd64.mh
@@ -0,0 +1,7 @@
+# Host: NetBSD/amd64
+
+XM_FILE= xm-i386.h
+
+NAT_FILE= nm-nbsd.h
+# NOTE: Do not spread NATDEPFILES over several lines - it hurts BSD make.
+NATDEPFILES= fork-child.o infptrace.o inftarg.o solib.o solib-svr4.o solib-legacy.o corelow.o amd64-nat.o amd64bsd-nat.o amd64nbsd-nat.o
diff --git a/gdb/config/i386/nbsd64.mt b/gdb/config/i386/nbsd64.mt
new file mode 100644
index 0000000..6d73660
--- /dev/null
+++ b/gdb/config/i386/nbsd64.mt
@@ -0,0 +1,2 @@
+# Target: NetBSD/amd64
+TDEPFILES= x86-64-tdep.o amd64nbsd-tdep.o i386-tdep.o i387-tdep.o nbsd-tdep.o