Module Name:    src
Committed By:   christos
Date:           Sat Oct  8 21:55:17 UTC 2011

Modified Files:
        src/share/mk: bsd.own.mk

Log Message:
Switch i386 and amd64 to gdb7.


To generate a diff of this commit:
cvs rdiff -u -r1.682 -r1.683 src/share/mk/bsd.own.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/mk/bsd.own.mk
diff -u src/share/mk/bsd.own.mk:1.682 src/share/mk/bsd.own.mk:1.683
--- src/share/mk/bsd.own.mk:1.682	Sun Oct  2 18:10:10 2011
+++ src/share/mk/bsd.own.mk	Sat Oct  8 17:55:16 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.own.mk,v 1.682 2011/10/02 22:10:10 christos Exp $
+#	$NetBSD: bsd.own.mk,v 1.683 2011/10/08 21:55:16 christos Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -75,8 +75,17 @@ USE_COMPILERCRTSTUFF?=	no
 .endif
 USE_COMPILERCRTSTUFF?=	yes
 
+#
+# Platforms using GDB 7
+#
+.if ${MACHINE_ARCH} == "i386"     || \
+    ${MACHINE_ARCH} == "x86_64"
+HAVE_GDB?= 7
+.else
 # default to GDB6
 HAVE_GDB?=	6
+.endif
+
 
 # default to binutils 2.19
 HAVE_BINUTILS?=	219

Reply via email to