On 27/02/2015 06:27, Yaakov Selkowitz wrote:
On Mon, 2015-02-23 at 12:14 +0000, Jon TURNEY wrote:
On 07/07/2012 14:10, Jon TURNEY wrote:
I was going to suggest the use of objcopy --compress-debug-sections,
but it
appears that does nothing for PE/COFF files at the moment [1] :-(
[1] http://sourceware.org/bugzilla/show_bug.cgi?id=14067
That bug has been fixed for a while, so how about the attached?
This appears to reduce the disk space used by .dbg files to about 1/3 of
the size, so seems worthwhile.
Have you tested that the resulting split debuginfo work properly with
gdb?
It's hardly a comprehensive test, but I did try this:
$ objdump -j ".zdebug_info" -s /usr/lib/debug/usr/bin/XWin.exe.dbg | head
/usr/lib/debug/usr/bin/XWin.exe.dbg: file format pei-x86-64