This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [RFC] cygport: split debuginfo packages
- From: Yaakov Selkowitz <yselkowitz at cygwin dot com>
- To: cygwin-apps at cygwin dot com
- Date: Sun, 01 Mar 2015 13:25:37 -0600
- Subject: Re: [RFC] cygport: split debuginfo packages
- Authentication-results: sourceware.org; auth=none
- References: <4FE2BE24 dot 4050508 at users dot sourceforge dot net> <1340999291 dot 11608 dot 0 dot camel at YAAKOV04> <4FF8352C dot 6060907 at dronecode dot org dot uk> <54EB19C3 dot 2060402 at dronecode dot org dot uk> <1425018433 dot 11676 dot 34 dot camel at cygwin dot com> <54F35239 dot 6060002 at dronecode dot org dot uk>
On Sun, 2015-03-01 at 17:54 +0000, Jon TURNEY wrote:
> 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:
[snip]
Fair enough, I have pulled in this patch for further testing.
Thanks,
Yaakov