Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Mar 2005 22:06:30 +0100
From:      Ulrich Spoerlein <q@uni.de>
To:        stable@freebsd.org
Subject:   gdb missing add-shared-symbol-files. why?
Message-ID:  <20050301210630.GB818@galgenberg.net>

next in thread | raw e-mail | index | archive | help
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050301210630.GB818>