[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb-cvs
Subject:    [binutils-gdb] Fix two NetBSD-specific typos in the configure.nat conversion.
From:       John Baldwin <jhb () sourceware ! org>
Date:       2017-07-25 16:46:23
Message-ID: 20170725164623.7705.qmail () sourceware ! org
[Download RAW message or body]

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b9c0e1b40ee4e7eeb3e2850720bf30f28e2e17b1

commit b9c0e1b40ee4e7eeb3e2850720bf30f28e2e17b1
Author: John Baldwin <jhb@FreeBSD.org>
Date:   Sat Jul 15 08:30:40 2017 -0700

    Fix two NetBSD-specific typos in the configure.nat conversion.
    
    - 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.

Diff:
---
 gdb/ChangeLog     | 4 ++++
 gdb/configure.nat | 3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5aa7609..b3f9c7b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2017-07-25  John Baldwin  <jhb@FreeBSD.org>
+
+	* configure.nat: Add "-lkvm" for NetBSD/sparc64 and fix typo.
+
 2017-07-25  Yao Qi  <yao.qi@linaro.org>
 
 	* amd64-tdep.c (amd64_init_abi): Make argument default_tdesc
diff --git a/gdb/configure.nat b/gdb/configure.nat
index 2026ee7..b32c9aa 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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic