Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Apr 2002 12:30:43 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Doug White <dwhite@resnet.uoregon.edu>
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:  <20020409123042.K9535@wantadilla.lemis.com>
In-Reply-To: <20020406233900.D6659-100000@resnet.uoregon.edu>
References:  <20020406113033.I81917@wantadilla.lemis.com> <20020406233900.D6659-100000@resnet.uoregon.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday,  6 April 2002 at 23:40:45 -0800, Doug White wrote:
> 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.

Sure, but that wasn't the question.

Greg
--
See complete headers for address and phone numbers

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?20020409123042.K9535>