From owner-cvs-all Fri Jun 9 12:43:55 2000 Delivered-To: cvs-all@freebsd.org Received: from overcee.netplex.com.au (peter1.corp.yahoo.com [208.48.107.4]) by hub.freebsd.org (Postfix) with ESMTP id D704437C5F8; Fri, 9 Jun 2000 12:43:50 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 886141CE4; Fri, 9 Jun 2000 12:43:48 -0700 (PDT) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.1.1 10/15/1999 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: Message from Greg Lehey of "Fri, 09 Jun 2000 10:14:14 +0930." <20000609101414.O79769@wantadilla.lemis.com> Date: Fri, 09 Jun 2000 12:43:48 -0700 From: Peter Wemm Message-Id: <20000609194348.886141CE4@overcee.netplex.com.au> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 > > /dev/loader; currently, in this case, it just fixes unused pointers > > and wastes space consistently. For booting in the normal way with > > /boot/loader, the table is included and pointed to in a different way > > and kldsym(2) works. > > I think this is worth a HEADS UP, or at least a mention in UPDATING. > Is there any way to boot such a kernel and discard the symbols? strip(1). Remember, in ELF, symbol table != debug symbols. This is not the same as a.out where it was all merged together. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message