On Thu, Jul 21, 2005 at 06:04:37AM +0900, YAEGASHI Takeshi wrote:
> Because files in /usr/lib/debug/lib lack all debug sections other than
> .debug_frame, gdb fails to acquire debug information automatically
> (See 15.2 Debugging Information in Separate of gdb.info).
> 
> IMHO, the package should have correct debug information files in all
> possible (for each variant like tls) directories in the global debug
> file directory.  Libraries with debug information in /usr/lib/debug
> seem useless.

This is a feature.  The debug information for glibc is extremely large,
and it makes GDB take an excessive amount of RAM to debug.  The files
there have a functional .debug_frame and symbol table; this means that
backtraces work, although they would not work without these files.

You can put /usr/lib/debug in LD_LIBRARY_PATH to get debug info, but we
only ship one variant of these.  Again, because they are so large.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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

Reply via email to