Date: Wed, 14 Oct 1998 21:12:54 +0100 (BST) From: Doug Rabson <dfr@nlsystems.com> To: Peter Wemm <peter@netplex.com.au> Cc: Karl Pielorz <kpielorz@tdx.co.uk>, Edwin Culp <eculp@webwizard.org.mx>, FreeBSD-current@FreeBSD.ORG Subject: Re: Make elf release Message-ID: <Pine.BSF.4.01.9810142110510.389-100000@herring.nlsystems.com> In-Reply-To: <199810132359.HAA02821@spinner.netplex.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.01.9810142110510.389-100000>