diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2009-01-15 02:41:26 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2009-01-15 02:41:26 +0000 |
commit | cc4917abc99a62355fedeb38f7f9f55f51385227 (patch) | |
tree | 1cfe0b04efecf4cae3e41702985e456d7f75c0a2 /sys/conf/files.powerpc | |
parent | c35272189093b4afa8424334b5550f146b5ab1aa (diff) | |
download | FreeBSD-src-cc4917abc99a62355fedeb38f7f9f55f51385227.zip FreeBSD-src-cc4917abc99a62355fedeb38f7f9f55f51385227.tar.gz |
When building up the command-line for the DTrace ctfmerge and ctfconvert
utilities, add the ${DEBUG} variable from the kernel config. Otherwise,
if we build a kernel with WITH_CTF=1 set, ctfmerge will not have
the -g flag set. In this case, the cc has -g specified, so the
.o files will have debug information generated, but since ctfmerge
does not have -g set, it will strip out the ELF sections containing
the DWARF debugging info, leading to a kernel without debugging symbols.
Reviewed by: jb
Diffstat (limited to 'sys/conf/files.powerpc')
0 files changed, 0 insertions, 0 deletions