[3/4] Enable the BSD KVM target for NetBSD/amd64.
Commit Message
gdb/ChangeLog:
* configure.nat: Add "bsd-kvm.o" and "-lkvm" for NetBSD/amd64.
---
gdb/ChangeLog | 4 ++++
gdb/configure.nat | 3 ++-
2 files changed, 6 insertions(+), 1 deletion(-)
@@ -1,5 +1,9 @@
2017-07-15 John Baldwin <jhb@FreeBSD.org>
+ * configure.nat: Add "bsd-kvm.o" and "-lkvm" for NetBSD/amd64.
+
+2017-07-15 John Baldwin <jhb@FreeBSD.org>
+
* bsd-kvm.o: Define _KMEMUSER.
* configure.ac: Define _KMEMUSER when checking for "struct lwp".
* configure: Regenerate.
@@ -339,7 +339,8 @@ case ${gdb_host} in
i386)
# Host: NetBSD/amd64
NATDEPFILES="${NATDEPFILES} nbsd-nat.o amd64-nat.o \
- x86-bsd-nat.o amd64-bsd-nat.o amd64-nbsd-nat.o"
+ x86-bsd-nat.o amd64-bsd-nat.o amd64-nbsd-nat.o bsd-kvm.o"
+ LOADLIBES='-lkvm'
;;
sparc)
# Host: NetBSD/sparc64