Date: Fri, 4 Mar 2005 23:22:31 -0800 (PST) From: Doug White <dwhite@gumbysoft.com> To: Ulrich Spoerlein <q@uni.de> Cc: stable@freebsd.org Subject: Re: gdb missing add-shared-symbol-files. why? Message-ID: <20050304231917.S4084@carver.gumbysoft.com> In-Reply-To: <20050301210630.GB818@galgenberg.net> References: <20050301210630.GB818@galgenberg.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 1 Mar 2005, Ulrich Spoerlein wrote: > Hi, > > played with dmalloc and the docu says to do the following in gdb: > (gdb) sharedlibrary > (gdb) add-shared-symbol-files > This command is not available in this configuration of GDB. > (gdb) break dmalloc_error > > Why is this command not available? The code in question is at > /usr/src/contrib/gdb/gdb/symfile.c:1760 I believe gdb automatically loads dynamic libraries linked against a binary when that binary is debugged. So that command many not have any affect on FreeBSD. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050304231917.S4084>