This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 3/4] Enable the BSD KVM target for NetBSD/amd64.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]