Re: [RFC] cygport: split debuginfo packages

2015-03-09 Thread Jon TURNEY
On 01/03/2015 17:54, Jon TURNEY wrote: On 27/02/2015 06:27, Yaakov Selkowitz wrote: On Mon, 2015-02-23 at 12:14 +, 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 file

Re: [RFC] cygport: split debuginfo packages

2015-03-01 Thread Yaakov Selkowitz
On Sun, 2015-03-01 at 17:54 +, Jon TURNEY wrote: > On 27/02/2015 06:27, Yaakov Selkowitz wrote: > > On Mon, 2015-02-23 at 12:14 +, 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 > >>> app

Re: [RFC] cygport: split debuginfo packages

2015-03-01 Thread Jon TURNEY
On 27/02/2015 06:27, Yaakov Selkowitz wrote: On Mon, 2015-02-23 at 12:14 +, 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://sour

Re: [RFC] cygport: split debuginfo packages

2015-02-26 Thread Yaakov Selkowitz
On Mon, 2015-02-23 at 12:14 +, 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

Re: [RFC] cygport: split debuginfo packages

2015-02-23 Thread Jon TURNEY
On 07/07/2012 14:10, Jon TURNEY wrote: On 29/06/2012 20:48, Yaakov (Cygwin/X) wrote: On Thu, 2012-06-21 at 01:24 -0500, Yaakov (Cygwin/X) wrote: Attached is a first draft of a patch to support split debuginfo packages automatically in cygport. Second draft patch attached. This works fine.

Re: [RFC] cygport: split debuginfo packages

2012-07-17 Thread Yaakov (Cygwin/X)
On 2012-07-17 13:39, Christopher Faylor wrote: On Tue, Jul 17, 2012 at 08:36:48PM +0200, Achim Gratz wrote: So if there's a source package package-version-src.tar.bz2, then the debuginfo package would be called package-version-debuginfo.tar.bz2 and it would be selected from libpackage if that ha

Re: [RFC] cygport: split debuginfo packages

2012-07-17 Thread Christopher Faylor
On Tue, Jul 17, 2012 at 09:48:31PM +0200, Achim Gratz wrote: >Christopher Faylor writes: >> Maybe the .debuginfo files should be in a "Debug" category. > >I don't think that would be the right thing to do. It would only be of >help if the debuginfo packages were not shown in the other categories >

Re: [RFC] cygport: split debuginfo packages

2012-07-17 Thread Achim Gratz
Christopher Faylor writes: > Maybe the .debuginfo files should be in a "Debug" category. I don't think that would be the right thing to do. It would only be of help if the debuginfo packages were not shown in the other categories together with the installation packages, but a flat Debug category

Re: [RFC] cygport: split debuginfo packages

2012-07-17 Thread Christopher Faylor
On Tue, Jul 17, 2012 at 08:36:48PM +0200, Achim Gratz wrote: >Yaakov (Cygwin/X) writes: >> Attached is a first draft of a patch to support split debuginfo >> packages automatically in cygport. I'm looking for comments and >> suggestions, particularly on the following: > >The automatic generation o

Re: [RFC] cygport: split debuginfo packages

2012-07-17 Thread Achim Gratz
Yaakov (Cygwin/X) writes: > Attached is a first draft of a patch to support split debuginfo > packages automatically in cygport. I'm looking for comments and > suggestions, particularly on the following: The automatic generation of the packages works great, thank you. Looking at the resulting pr

Re: [RFC] cygport: split debuginfo packages

2012-07-07 Thread Jon TURNEY
On 29/06/2012 20:48, Yaakov (Cygwin/X) wrote: > On Thu, 2012-06-21 at 01:24 -0500, Yaakov (Cygwin/X) wrote: >> Attached is a first draft of a patch to support split debuginfo packages >> automatically in cygport. > > Second draft patch attached. This works fine. Thanks. I was going to suggest

Re: [RFC] cygport: split debuginfo packages

2012-06-30 Thread Ken Brown
On 6/29/2012 3:48 PM, Yaakov (Cygwin/X) wrote: On Thu, 2012-06-21 at 01:24 -0500, Yaakov (Cygwin/X) wrote: Attached is a first draft of a patch to support split debuginfo packages automatically in cygport. Second draft patch attached. I tested this on my emacs build, and it worked great. On

Re: [RFC] cygport: split debuginfo packages

2012-06-29 Thread Yaakov (Cygwin/X)
On Thu, 2012-06-21 at 01:24 -0500, Yaakov (Cygwin/X) wrote: > Attached is a first draft of a patch to support split debuginfo packages > automatically in cygport. Second draft patch attached. Yaakov diff --git a/bin/cygport.in b/bin/cygport.in index 32e7dd1..b3d953b 100755 --- a/bin/cygport.in

Re: [RFC] cygport: split debuginfo packages

2012-06-22 Thread Ken Brown
On 6/21/2012 2:24 AM, Yaakov (Cygwin/X) wrote: Attached is a first draft of a patch to support split debuginfo packages automatically in cygport. Thanks for doing this. I tested it on my emacs package, and the build seemed to work as expected except for two minor glitches: * In line 82 of y

Re: [RFC] cygport: split debuginfo packages

2012-06-22 Thread Corinna Vinschen
On Jun 21 14:47, Yaakov (Cygwin/X) wrote: > On 2012-06-21 04:03, Corinna Vinschen wrote: > >On Jun 21 01:24, Yaakov (Cygwin/X) wrote: > >>3) Sources referenced by the .dbg files are placed under > >>/usr/src/debug/${PF}, as indicated by the -fdebug-prefix-map flags. > > > >I don't quite understand

Re: [RFC] cygport: split debuginfo packages

2012-06-21 Thread Yaakov (Cygwin/X)
On 2012-06-21 04:03, Corinna Vinschen wrote: On Jun 21 01:24, Yaakov (Cygwin/X) wrote: 2) This places the debuginfo from e.g. /usr/bin/cygfoo-X.dll into /usr/lib/debug/usr/bin/cygfoo-X.dbg. Unfortunately, when gdb finds library dependencies, they show up as e.g. /cygdrive/c/cygwin/bin/cygfoo-X.

Re: [RFC] cygport: split debuginfo packages

2012-06-21 Thread Christopher Faylor
On Thu, Jun 21, 2012 at 03:21:49PM +0100, Jon TURNEY wrote: >On 21/06/2012 13:56, Christopher Faylor wrote: >> On Thu, Jun 21, 2012 at 01:24:36AM -0500, Yaakov (Cygwin/X) wrote: >>> Attached is a first draft of a patch to support split debuginfo packages >>> automatically in cygport. I'm looking

Re: [RFC] cygport: split debuginfo packages

2012-06-21 Thread Jon TURNEY
On 21/06/2012 13:56, Christopher Faylor wrote: > On Thu, Jun 21, 2012 at 01:24:36AM -0500, Yaakov (Cygwin/X) wrote: >> Attached is a first draft of a patch to support split debuginfo packages >> automatically in cygport. I'm looking for comments and suggestions, >> particularly on the following:

Re: [RFC] cygport: split debuginfo packages

2012-06-21 Thread Christopher Faylor
On Thu, Jun 21, 2012 at 01:24:36AM -0500, Yaakov (Cygwin/X) wrote: >Attached is a first draft of a patch to support split debuginfo packages >automatically in cygport. I'm looking for comments and suggestions, >particularly on the following: > >1) I propose adding a Debug category for all -debug

Re: [RFC] cygport: split debuginfo packages

2012-06-21 Thread Corinna Vinschen
On Jun 21 11:03, Corinna Vinschen wrote: > On Jun 21 01:24, Yaakov (Cygwin/X) wrote: > > Attached is a first draft of a patch to support split debuginfo > > packages automatically in cygport. I'm looking for comments and > > suggestions, particularly on the following: > > > > 1) I propose adding

Re: [RFC] cygport: split debuginfo packages

2012-06-21 Thread Corinna Vinschen
On Jun 21 01:24, Yaakov (Cygwin/X) wrote: > Attached is a first draft of a patch to support split debuginfo > packages automatically in cygport. I'm looking for comments and > suggestions, particularly on the following: > > 1) I propose adding a Debug category for all -debuginfo packages. > > 2)

[RFC] cygport: split debuginfo packages

2012-06-20 Thread Yaakov (Cygwin/X)
Attached is a first draft of a patch to support split debuginfo packages automatically in cygport. I'm looking for comments and suggestions, particularly on the following: 1) I propose adding a Debug category for all -debuginfo packages. 2) This places the debuginfo from e.g. /usr/bin/cygfoo-