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
static void
add_shared_symbol_files_command (char *args, int from_tty)
{
#ifdef ADD_SHARED_SYMBOL_FILES
ADD_SHARED_SYMBOL_FILES (args, from_tty);
#else
error ("This command is not available in this configuration of
GDB.");
#endif
}
I grepped the whole src-tree for ADD_SHARED_SYMBOL_FILES. No luck.
What's up? (Note, devel/gdb6 has the same "problem").
Ulrich Spoerlein
--
PGP Key ID: F0DB9F44 Encrypted mail welcome!
Fingerprint: F1CE D062 0CA9 ADE3 349B 2FE8 980A C6B5 F0DB 9F44
Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh
wgah'nagl fhtagn."
didn't you understand?