[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ``No symbol table info available.'' (was: glibc 2.5 on GNU/Hurd with
From: |
Michael Banck |
Subject: |
Re: ``No symbol table info available.'' (was: glibc 2.5 on GNU/Hurd with GCC 4.1: `EXC_BAD_ACCESS' in glibc nss code) |
Date: |
Fri, 27 Apr 2007 14:05:04 +0200 |
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