summaryrefslogtreecommitdiff
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
commitae5db072725311b01460bc0f1d5f3d7f35fca857 (patch)
treeb924a30e75433076fa73ce23e4187f319674e319 /gdb/config
parent0aab980b895bc07f26947e485e070bb5e4f83cb4 (diff)
downloadgdb-ae5db072725311b01460bc0f1d5f3d7f35fca857.tar.gz
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 00000000000..5acd1676bbf
--- /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 00000000000..6d73660fba2
--- /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