Date: Sat, 6 Apr 2002 23:40:45 -0800 (PST) From: Doug White <dwhite@resnet.uoregon.edu> To: "Greg 'groggy' Lehey" <grog@FreeBSD.ORG> Cc: Alessandro de Manzano <adm@unixmania.net>, Alfred Perlstein <bright@mu.org>, <hackers@FreeBSD.ORG> Subject: Re: Is a debug kernel slower than a non-debug one ? Message-ID: <20020406233900.D6659-100000@resnet.uoregon.edu> In-Reply-To: <20020406113033.I81917@wantadilla.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020406233900.D6659-100000>