From owner-cvs-all Sun Dec 20 05:10:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA09471 for cvs-all-outgoing; Sun, 20 Dec 1998 05:10:19 -0800 (PST) (envelope-from owner-cvs-all@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 FAA09466; Sun, 20 Dec 1998 05:10:10 -0800 (PST) (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 NAA11931; Sun, 20 Dec 1998 13:09:30 GMT Date: Sun, 20 Dec 1998 13:09:30 +0000 (GMT) From: Doug Rabson To: Greg Lehey cc: Bruce Evans , jonny@jonny.eng.br, cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG Subject: Re: Use of LKMs (was: cvs commit: src/share/mk bsd.kern.mk src/sys/alpha/conf Makefile.alpha) In-Reply-To: <19981220101713.O24125@freebie.lemis.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Sun, 20 Dec 1998, Greg Lehey wrote: > On Saturday, 19 December 1998 at 23:27:39 +1100, Bruce Evans wrote: > >> #define quoting(Bruce Evans) > >> // src/lkm -> src/sys/lkm (like src/sys/modules) > >> > >> Is there a reason to keep the lkm's, now that kld's are working ? > >> (Aren't they ?) > > > > They might still be being used. > > [Somehow I missed the original of this] > > What's the current situation for kld debugging? I'm using Vinum as an > lkm because I can debug it that way. The current situation is that DDB can find symbols in kld modules. It is possible to get gdb to see them too with a carefully crafted add-symbol-file command. I seem to remember that you had a gdb macro for automatically adding symbols for loaded LKMs. I imagine that writing a similar script for KLD would be fairly easy. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message