On Sat, 6 Apr 2002, Greg 'groggy' Lehey wrote:

> > Note that the kernel binary with debugging symbols is left in
> > /sys/compile/MYKERNEL/kernel.debug while the actual kernel is stripped
> > before installation into /kernel.
> >
> > If the debugging kernel was actually loaded it would be gigantic :)
>
> No, since the transition to ELF, none of the debugging information
> gets loaded into core.  Try it.

Huh?  I know that since 3.X, the kernel with debugging symbols is NOT
loaded into the actual installed, running kernel. However, you can specify
a debugging kernel to kgdb as the exec-file and it will load properly.

> > This is all detailed in the Handbook section on kernel debugging,
> > btw.
>
> Hmm, that needs to be fixed, then.

The Developer's Handbook, section 16, has the details.  It seems to match
up with my experience.

Doug White                    |  FreeBSD: The Power to Serve
[EMAIL PROTECTED]     |  www.FreeBSD.org


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to