General debug/kernel question

Harald Schmalzbauer h at schmalzbauer.de
Sun Nov 16 17:43:26 PST 2003


Salve,

I always thought that building a kernel with debug symbols would increase the 
kernel size dramatically. But if I understand things right the additioal 
"symbols" (code snippets?) are not in the kernel but in a different file 
which makes the kernel the same size like without debug=-g. Is there any 
reason to not build it with debug=-g?
Also I thought debug kernels suffer from reduced performance. I also have DDB 
in my kernel and don't _feel_ any difference. So again, is there any reason 
not to put DDB into the kernel?

Thanks,

-Harry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20031117/264d9f1e/attachment.bin


More information about the freebsd-current mailing list