Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Oct 1999 00:57:04 -0400
From:      "Ben Goodwin" <ben@hamsterville.ultranet.com>
To:        "Greg Lehey" <grog@lemis.com>, "Charlie Root" <root@numfour.angelo.edu>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Debug kernels (was: kernel config)
Message-ID:  <01e701bf146e$3a90cef0$6a477392@dsg.hamsterville.ultranet.com>
References:  <199910111956.OAA00510@numfour.angelo.edu> <19991012131733.R78191@freebie.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
[snip]

> I recommend to keep the debug symbols because in the unlikely event of
> a panic, you'll need this information to analyse the problem.  Debug
> kernels are no slower than normal kernels; they just contain more
> information about the sources.

[snip]

Hrm?  From
http://www.freebsd.org/handbook/kerneldebug.html

When the kernel has been built make a copy of it, say kernel.debug, and then
run strip -g on the original. Install the original as normal. You may also
install the unstripped kernel, but symbol table lookup time for some
programs will drastically increase, and since the whole kernel is loaded
entirely at boot time and cannot be swapped out later, several megabytes of
physical memory will be wasted.



Who's right?  :-)



    -=| Ben




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01e701bf146e$3a90cef0$6a477392>