From owner-freebsd-current Wed Oct 14 13:14:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA18600 for freebsd-current-outgoing; Wed, 14 Oct 1998 13:14:48 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA18591 for ; Wed, 14 Oct 1998 13:14:45 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id VAA03407; Wed, 14 Oct 1998 21:12:54 +0100 (BST) Date: Wed, 14 Oct 1998 21:12:54 +0100 (BST) From: Doug Rabson To: Peter Wemm cc: Karl Pielorz , Edwin Culp , FreeBSD-current@FreeBSD.ORG Subject: Re: Make elf release In-Reply-To: <199810132359.HAA02821@spinner.netplex.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 14 Oct 1998, Peter Wemm wrote: > Karl Pielorz wrote: > > > > > > Edwin Culp wrote: > > > > > > I know that's one of the reasons why I've left my system running a.out ke > rnels > > > > at the moment... (and I at least hope it's a good reason ;-) > > > > > > > > Karl > > > > > > The wonderful part of it is that I haven't had anything to debug :-) What > % of > > > the folks running current/beta debug their kernels? The way to find the p > roblems > > > is to have more people using it in its most complete form. IMO. > > > > Hmmm.. Well if I'm right about not being able to debug LDK's with an ELF > > kernel, I have to keep my kernel a.out... An LKM I'm betaing has a few > > problems, which means it's gotta be debug(able)... > > Umm, it's the other way around.. DDB can't see a.out LKM's for debugging. > DDB *can* see both a.out and elf KLD modules. KLD modules are the first > time that DDB has worked with modular kernels. > > It's GDB that is the problem - it can't see KLD modules. Mind you, it > can't see LKM's either. It should be possible to debug both with GDB with judicious use of 'add-symbol-file' with the module filename and the load address (I believe that there is normally a fixed offset from the load address). I have a vague memory of writing something about this in the handbook. Maybe I was dreaming... -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message