kernel debug options

Kris Kennaway kris at obsecurity.org
Sun Oct 30 18:57:05 PST 2005


On Mon, Oct 31, 2005 at 01:23:33PM +1030, Greg 'groggy' Lehey wrote:
> On Saturday, 29 October 2005 at 15:47:03 -0400, Kris Kennaway wrote:
> > On Sat, Oct 29, 2005 at 11:36:59AM -0600, Elliot Finley wrote:
> >> does having:
> >>
> >> options               KDB
> >> options               DDB
> >> makeoptions   DEBUG=-g
> >>
> >> in the kernel make it slower?  Or does it just make it take more memory?
> >
> > Neither.
> 
> It makes it take more (text) memory.  The code has to go somewhere.

Well, you're right that enabling KDB/DDB adds a few bytes to the size
of the kernel, but I interpreted his question as about runtime memory
usage.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20051030/ab4d94fa/attachment.bin


More information about the freebsd-questions mailing list