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 2, 2010 at 9:32 PM, Daniel Jacobowitz <dan@codesourcery.com> wrote:
> On Tue, Feb 02, 2010 at 09:15:42PM +0100, Vlad Ureche wrote:
>>
>> 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.
>
It worked! Thanks a lot!
--
Vlad Ureche