From owner-freebsd-hackers Wed Oct 13 1:30:50 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id A7FA014DDB for ; Wed, 13 Oct 1999 01:30:45 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from salmon.nlsystems.com (salmon.nlsystems.com [10.0.0.3]) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id JAA98248; Wed, 13 Oct 1999 09:33:05 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Wed, 13 Oct 1999 09:33:05 +0100 (BST) From: Doug Rabson To: Warner Losh Cc: hackers@freebsd.org Subject: Re: Symbols and klds In-Reply-To: <199910121558.JAA96469@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 12 Oct 1999, Warner Losh wrote: > > How does one tell ddb about dynamic modules? I've had a couple of > crashes in my code where I've needed symbols from things dynamically > loaded... Does gdb grok them any better? > I thought ddb was supposed to know about them already but perhaps that only works for pre-loaded modules. GDB can be forced to see them but its tricky - Greg Lehey has some gdb macros to help him get vinum into GDB. One thing I would like to do with GDB (if I ever get to it) is to fake up the data structures which it expects to see from ld.so so that it can walk our module list directly. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message