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 [EMAIL PROTECTED] | www.FreeBSD.org _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
