From owner-freebsd-hackers Mon Apr 8 20: 0:49 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 81C1C37B400 for ; Mon, 8 Apr 2002 20:00:45 -0700 (PDT) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 2A378812F8; Tue, 9 Apr 2002 12:30:43 +0930 (CST) Date: Tue, 9 Apr 2002 12:30:43 +0930 From: Greg 'groggy' Lehey To: Doug White Cc: Alessandro de Manzano , Alfred Perlstein , hackers@FreeBSD.ORG Subject: Re: Is a debug kernel slower than a non-debug one ? Message-ID: <20020409123042.K9535@wantadilla.lemis.com> References: <20020406113033.I81917@wantadilla.lemis.com> <20020406233900.D6659-100000@resnet.uoregon.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020406233900.D6659-100000@resnet.uoregon.edu> User-Agent: Mutt/1.3.23i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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