debug libs (Re: KDE/kdelibs/cmake/modules)

Stephan Kulow coolo at kde.org
Wed Mar 1 09:23:07 GMT 2006


Am Mittwoch, 1. März 2006 09:04 schrieb Ralf Habacker:
>
> The gcc toolchain has initial but not complete support for this.  gdb -
> is able to load separate debug symbol packages by using the file
> command, ld uses bfd which is able to separate debug informations into a
> specific debug section (If i remember right, does ld store the debug
> informations already in a separate section of the output file). The only
> thing left is, that ld should have additional switches to write the
> debug informations into a separate file instead of the linker output file.

You can use strip and objcopy to separate debug sections and code sections and 
many linux distributions do it already. 

But that doesn't help you with either debug output that is disabled for 
release builds nor with optimized code that might show different bugs. But 
it's very much of a help with debugging distribution builds.

Greetings, Stephan




More information about the kde-core-devel mailing list