Source-Changes-HG archive

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

[src/trunk]: src/sys/conf allow DEBUG to be set to "-gstabs" or "-gstabs+", t...



details:   https://anonhg.NetBSD.org/src/rev/62cf3ffb5ed1
branches:  trunk
changeset: 550697:62cf3ffb5ed1
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Aug 18 00:15:41 2003 +0000

description:
allow DEBUG to be set to "-gstabs" or "-gstabs+", to enable building
netbsd.gdb.  (you need "-gstabs" for gcc3.3 and old gdb.)

diffstat:

 sys/conf/Makefile.kern.inc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e77c818dd61d -r 62cf3ffb5ed1 sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc        Sun Aug 17 23:51:12 2003 +0000
+++ b/sys/conf/Makefile.kern.inc        Mon Aug 18 00:15:41 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.kern.inc,v 1.35 2003/07/10 10:34:42 lukem Exp $
+#      $NetBSD: Makefile.kern.inc,v 1.36 2003/08/18 00:15:41 mrg Exp $
 #
 # This file contains common `MI' targets and definitions and it is included
 # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -162,7 +162,7 @@
 STRIPFLAGS?=   -g
 
 DEBUG?=
-.if ${DEBUG} == "-g"
+.if ${DEBUG} == "-g" || ${DEBUG} == "-gstabs" || ${DEBUG} == "-gstabs+"
 SYSTEM_LD_TAIL+=${SYSTEM_LD_TAIL_DEBUG}
 LINKFLAGS+=    ${LINKFLAGS_DEBUG}
 EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.gdb@}



Home | Main Index | Thread Index | Old Index