diff options
| author | Greg Lehey <grog@FreeBSD.org> | 2003-12-29 06:40:00 +0000 |
|---|---|---|
| committer | Greg Lehey <grog@FreeBSD.org> | 2003-12-29 06:40:00 +0000 |
| commit | 01b4ca63ec640d20b7cefec294e849d1c2fe379c (patch) | |
| tree | aeb05a962867aa7118f35d5d9ead649696221ac8 | |
| parent | 410b51e72b11f89abf6e74449f3ef5c548ce1ec0 (diff) | |
Notes
| -rw-r--r-- | sys/conf/kern.post.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk index 2c59b7ee71b4..ecea0165d724 100644 --- a/sys/conf/kern.post.mk +++ b/sys/conf/kern.post.mk @@ -54,9 +54,10 @@ ${KERNEL_KO}: ${FULLKERNEL} install.debug reinstall.debug: gdbinit cd ${.CURDIR}; ${MAKE} -DINSTALL_DEBUG ${.TARGET:R} +# Install gdbinit files for kernel debugging gdbinit: - sed < ${S}/../tools/debugscripts/dot.gdbinit > .gdbinit \ - "s:MODPATH:${.OBJDIR}/modules:" + grep -v '# XXX' ${S}/../tools/debugscripts/dot.gdbinit \ + | sed "s:MODPATH:${.OBJDIR}/modules:" > .gdbinit cp ${S}/../tools/debugscripts/gdbinit.kernel \ ${S}/../tools/debugscripts/gdbinit.vinum ${.CURDIR} cp ${S}/../tools/debugscripts/gdbinit.${MACHINE_ARCH} \ |
