gdb missing add-shared-symbol-files. why?

Doug White dwhite at gumbysoft.com
Sat Mar 5 07:22:31 GMT 2005


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 at gumbysoft.com          |  www.FreeBSD.org


More information about the freebsd-stable mailing list