diff mbox

[1/4] Fix two NetBSD-specific typos in the configure.nat conversion.

Message ID 20170715172021.80516-2-jhb@FreeBSD.org
State New
Headers show

Commit Message

John Baldwin July 15, 2017, 5:20 p.m. UTC
- Add the '-lkvm' library requirement for NetBSD/sparc64.
- Fix spelling of 'nbsdelf' host.

gdb/Changelog:

	* configure.nat: Add "-lkvm" for NetBSD/sparc64 and fix typo.
---
 gdb/ChangeLog     | 4 ++++
 gdb/configure.nat | 3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)

Comments

Yao Qi July 19, 2017, 9:51 a.m. UTC | #1
John Baldwin <jhb@FreeBSD.org> writes:

> gdb/Changelog:
>
> 	* configure.nat: Add "-lkvm" for NetBSD/sparc64 and fix typo.

Patch is good to me.
diff mbox

Patch

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1da495ff4c..14cf30b968 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@ 
+2017-07-15  John Baldwin  <jhb@FreeBSD.org>
+
+	* configure.nat: Add "-lkvm" for NetBSD/sparc64 and fix typo.
+
 2017-07-14  Tom Tromey  <tom@tromey.com>
 
 	PR rust/21764:
diff --git a/gdb/configure.nat b/gdb/configure.nat
index 2026ee76f5..b32c9aa849 100644
--- a/gdb/configure.nat
+++ b/gdb/configure.nat
@@ -345,11 +345,12 @@  case ${gdb_host} in
 		# Host: NetBSD/sparc64
 		NATDEPFILES="${NATDEPFILES} sparc64-nbsd-nat.o sparc-nat.o \
 		bsd-kvm.o"
+		LOADLIBES='-lkvm'
 		;;
 
 	esac
 	;;
-    nbdself)
+    nbsdelf)
 	case ${gdb_host_cpu} in
 	    arm)
 		# Host: NetBSD/arm