Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk switch amd64 to gdb-11



details:   https://anonhg.NetBSD.org/src/rev/f4185718cab6
branches:  trunk
changeset: 938926:f4185718cab6
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Sep 20 14:42:29 2020 +0000

description:
switch amd64 to gdb-11

diffstat:

 share/mk/bsd.own.mk |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 89e731e0d8a0 -r f4185718cab6 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Sun Sep 20 14:39:26 2020 +0000
+++ b/share/mk/bsd.own.mk       Sun Sep 20 14:42:29 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.1219 2020/09/15 09:32:31 mrg Exp $
+#      $NetBSD: bsd.own.mk,v 1.1220 2020/09/20 14:42:29 christos Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -106,9 +106,13 @@
 #
 # What GDB is used?
 #
+.if ${MACHINE_ARCH} == "x86_64"
+HAVE_GDB?=     1100
+.else
 HAVE_GDB?=     830
+.endif
 
-.if ${HAVE_GDB} == 1000
+.if ${HAVE_GDB} == 1100
 EXTERNAL_GDB_SUBDIR=           gdb
 .elif ${HAVE_GDB} == 830
 EXTERNAL_GDB_SUBDIR=           gdb.old



Home | Main Index | Thread Index | Old Index