On Fri, Dec 09, 2005 at 09:05:28PM +0100, Laurent Bonnaud wrote:
> > First of all, this is wrong; do not put /usr/lib/debug/usr/lib in the
> > library path.  GDB loads libraries from /usr/lib/debug/{lib/,usr/lib/}
> > automatically.  They contain debug information, but no symbols.
> 
> Thank you for the info !  But I'm curious why they change gdb behaviour
> if they contain no symbol and why 
> 
>   nm /usr/lib/debug/libc-2.3.5.so
> 
> outputs a long list of symbols.

You can put /usr/lib/debug in the path; that's one set of debug
libraries.  The ones in /usr/lib/debug/lib and /usr/lib/debug/usr/lib
are different, though.  They'll still have a long list of symbols - but
only the symbols, none of the code is there.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to