Source-Changes-HG archive

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

[src/trunk]: src/share/mk Switch i386 and amd64 to gdb7.



details:   https://anonhg.NetBSD.org/src/rev/08b874bbcd56
branches:  trunk
changeset: 770234:08b874bbcd56
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Oct 08 21:55:16 2011 +0000

description:
Switch i386 and amd64 to gdb7.

diffstat:

 share/mk/bsd.own.mk |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r b28f33c0485d -r 08b874bbcd56 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Sat Oct 08 21:52:15 2011 +0000
+++ b/share/mk/bsd.own.mk       Sat Oct 08 21:55:16 2011 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index