This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Compile gdb with libc debug symbols
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
CodeSourcery