This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 3/4] Enable the BSD KVM target for NetBSD/amd64.
- From: John Baldwin <jhb at FreeBSD dot org>
- To: gdb-patches at sourceware dot org, coypu at sdf dot org
- Date: Sat, 15 Jul 2017 10:20:20 -0700
- Subject: [PATCH 3/4] Enable the BSD KVM target for NetBSD/amd64.
- Authentication-results: sourceware.org; auth=none
- References: <20170715172021.80516-1-jhb@FreeBSD.org>
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(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 156741e1ba..b6a1960d43 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/configure.nat b/gdb/configure.nat
index b32c9aa849..3c34dc6fc1 100644
--- a/gdb/configure.nat
+++ b/gdb/configure.nat
@@ -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
--
2.11.0