From owner-cvs-all Fri Jun 9 2:54:40 2000 Delivered-To: cvs-all@freebsd.org Received: from gidora.zeta.org.au (gidora.zeta.org.au [203.26.10.25]) by hub.freebsd.org (Postfix) with SMTP id 2B46F37BD3E for ; Fri, 9 Jun 2000 02:54:28 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: (qmail 30469 invoked from network); 9 Jun 2000 09:54:24 -0000 Received: from unknown (HELO bde.zeta.org.au) (203.2.228.102) by gidora.zeta.org.au with SMTP; 9 Jun 2000 09:54:24 -0000 Date: Fri, 9 Jun 2000 19:54:19 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Greg Lehey Cc: Bruce Evans , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: Booting debug kernels (was: cvs commit: src/sys/i386/i386 locore.s) In-Reply-To: <20000609101414.O79769@wantadilla.lemis.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 9 Jun 2000, Greg Lehey wrote: > On Thursday, 8 June 2000 at 10:53:44 -0700, Bruce Evans wrote: > > bde 2000/06/08 10:53:43 PDT > > > > Modified files: > > sys/i386/i386 locore.s > > Log: > > Always include the full symbol table (as specified by its start and > > end values in bootinfo) in kernel space if it is loaded (i.e., if its > > specified end address is nonzero), not just if it is loaded and DDB > > is configured. This may be used to fix kldsym(2) for booting without > I think this is worth a HEADS UP, or at least a mention in UPDATING. I disagree. This only affects broken configurations. > Is there any way to boot such a kernel and discard the symbols? Not at boot time. Use strip(1) to strip unwanted symbols. The symbol table has become very bloated even for non-deubugging kernels, but boot time is not the time to reduce it. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message