Compile gdb with libc debug symbols

Daniel Jacobowitz
Tue Feb 2 20:33:00 GMT 2010

On Tue, Feb 02, 2010 at 09:15:42PM +0100, Vlad Ureche wrote:
> Hello,
> I have a newbie question, I googled it but haven't found the answer.
> I'm compiling gdb 7.0.1 on a Ubuntu 9.10 machine with libc6-dbg
> package installed. The resulting binary does not see the libc debug
> symbols, even though the binary packaged with ubuntu does so. I'm
> using the following configure parameters:
> ./configure --build='x86_64-linux-gnu' --prefix="/home/sun/esd-work/dist/gdb"

Try --with-separate-debug-dir=/usr/lib/debug.

Daniel Jacobowitz

More information about the Gdb mailing list