[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debug version of ld-2.6.so is failing to start



Sinan Nalkaya a écrit :
> Hi
> I wanted to use dbg package of libc6 to trace down a libc function.
> In order to use those libraries debug version of the libraries, i
> tried following commands,
> 
> LD_LIBRARY_PATH=/usr/lib/debug gdb a.out
> LD_LIBRARY_PATH=/usr/lib/debug:/usr/lib/debug/lib gdb a.out
> LD_LIBRARY_PATH=/usr/lib/debug/lib/tls/i686/cmov gdb a.out
> None of them worked for me.
> 
>

The libraries in /usr/lib/debug only contains debugging code, not the
real code.

gdb should be able to use them without any change or environment
variables. Just run gdb a.out.


-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: