On Wed, Aug 01, 2001 at 12:31:12PM +0400, Eugene L. Vorokov wrote:
> > you just call config with '-g' option. and compile the kernel in normal
> > way. The freebsd handbook discusses this in more detail.
>
> Yet another issue, I have run config -g, then make depend, make and
> make install.debug. But my /kernel is still about 2mb long, which probably
> means it's not really debug kernel. However I see kernel.debug in the
> compile directory which is about 8mb long. Should I copy it manually to the
> / and boot this one ?
No. You boot the normal /kernel as usual. The debug kernel is used
when analyzing a crashdump with gdb.
The FAQ has more information about this.
(14.12 "How can I make the most of the data I see when my kernel panics?")
--
<Insert your favourite quote here.>
Erik Trulsson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message