Module Name:    src
Committed By:   matt
Date:           Wed Jan 27 07:28:09 UTC 2010

Modified Files:
        src/sys/conf [matt-nb5-mips64]: Makefile.kern.inc

Log Message:
If we're making a gdb kernel, insert the symtab in that as well.


To generate a diff of this commit:
cvs rdiff -u -r1.118.4.2.4.2 -r1.118.4.2.4.3 src/sys/conf/Makefile.kern.inc

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

Modified files:

Index: src/sys/conf/Makefile.kern.inc
diff -u src/sys/conf/Makefile.kern.inc:1.118.4.2.4.2 src/sys/conf/Makefile.kern.inc:1.118.4.2.4.3
--- src/sys/conf/Makefile.kern.inc:1.118.4.2.4.2	Sat Sep 12 16:51:41 2009
+++ src/sys/conf/Makefile.kern.inc	Wed Jan 27 07:28:09 2010
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.kern.inc,v 1.118.4.2.4.2 2009/09/12 16:51:41 matt Exp $
+#	$NetBSD: Makefile.kern.inc,v 1.118.4.2.4.3 2010/01/27 07:28:09 matt Exp $
 #
 # This file contains common `MI' targets and definitions and it is included
 # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -228,6 +228,12 @@
 SYSTEM_LD_TAIL+=${SYSTEM_LD_TAIL_DEBUG}
 LINKFLAGS+=	${LINKFLAGS_DEBUG}
 EXTRA_KERNELS+= ${KERNELS:@.kern...@${.kernel.}.gdb@}
+SYSTEM_LD_TAIL+=; \
+	if grep '^\#define.*SYMTAB_SPACE' opt_ddbparam.h > /dev/null; then \
+		echo "${DBSYM} [email protected]"; \
+		${DBSYM} [email protected]; \
+	fi
+
 .elifndef PROF
 LINKFLAGS+=	${LINKFLAGS_NORMAL}
 .endif

Reply via email to