On Fri, Apr 27, 2007 at 01:06:57PM +0200, Thomas Schwinge wrote: > $ sudo gdb /hurd/password 328 > GNU gdb 6.5-debian > [...] > (gdb) bt full > #0 0x011408f0 in _nss_files_parse_grent () from /lib/libc.so.0.3 > No symbol table info available. > [...] > #v- > > Why is ``no symbol table info available'' for the glibc parts? How to > get that working? I have the `-dbg' package installed.
Try to add LD_LIBRARY_PATH=/usr/lib/debug to the gdb environment via the "set env" command. AIUI, the libc0.3 at /usr/lib/debug/lib/libc-*.so (where gdb looks by default) only has limited information for stack unwinding(?), as you'd normally wouldn't need it for debugging. If you want to debug glibc itself, use /usr/lib/debug/libc.so.0.3. If LD_LIBRARY_PATH doesn't work, maybe LD_PRELOAD=/usr/lib/debug/libc.so.0.3 does instead. Michael _______________________________________________ Bug-hurd mailing list Bug-hurd@gnu.org http://lists.gnu.org/mailman/listinfo/bug-hurd