Source-Changes-HG archive

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

[src/trunk]: src add a HAVE_GDB53 switch. defaults to no one yet.



details:   https://anonhg.NetBSD.org/src/rev/5748b59a679b
branches:  trunk
changeset: 552102:5748b59a679b
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Sep 18 23:17:55 2003 +0000

description:
add a HAVE_GDB53 switch.  defaults to no one yet.

diffstat:

 gnu/usr.bin/Makefile |   6 +++++-
 share/mk/bsd.own.mk  |  14 +++++++++++++-
 2 files changed, 18 insertions(+), 2 deletions(-)

diffs (49 lines):

diff -r c9ebc8566753 -r 5748b59a679b gnu/usr.bin/Makefile
--- a/gnu/usr.bin/Makefile      Thu Sep 18 22:40:04 2003 +0000
+++ b/gnu/usr.bin/Makefile      Thu Sep 18 23:17:55 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.115 2003/08/27 16:03:17 mrg Exp $
+#      $NetBSD: Makefile,v 1.116 2003/09/18 23:17:55 mrg Exp $
 
 # for OBJECT_FMT
 .include <bsd.own.mk>
@@ -10,7 +10,11 @@
 
 SUBDIR+=       gettext
 
+.if ${HAVE_GDB53} == "no"
 SUBDIR+=       sim .WAIT gdb
+.else
+SUBDIR+=       gdb53
+.endif
 
 .if ${HAVE_GCC3} == "no"
 SUBDIR+=       gcc
diff -r c9ebc8566753 -r 5748b59a679b share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Thu Sep 18 22:40:04 2003 +0000
+++ b/share/mk/bsd.own.mk       Thu Sep 18 23:17:55 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.358 2003/09/13 19:08:28 lukem Exp $
+#      $NetBSD: bsd.own.mk,v 1.359 2003/09/18 23:17:57 mrg Exp $
 
 .if !defined(_BSD_OWN_MK_)
 _BSD_OWN_MK_=1
@@ -63,6 +63,18 @@
 USE_TOOLS_TOOLCHAIN?=yes
 
 #
+# Transitional for toolchain upgrade to GDB5.3
+#
+HAVE_GDB53?=   no
+.if ${MACHINE_ARCH} == "i386" || \
+    ${MACHINE_ARCH} == "sparc" || \
+    ${MACHINE_ARCH} == "sparc64"
+HAVE_GDB53?=   yes
+.else
+HAVE_GDB53?=   no
+.endif
+
+#
 # XXX TEMPORARY: If ns32k and not using an external toolchain, then we have
 # to use -idirafter rather than -isystem, because the compiler is too old
 # to use -isystem.



Home | Main Index | Thread Index | Old Index