X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org X-Mail-Handler: MailHop Outbound by DynDNS X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/S7eBTzQBKVcD+4Jp6mhIx Date: Sun, 19 Feb 2012 00:41:26 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: add -debuginfo packages Message-ID: <20120219054126.GA6697@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <6910a60908041158p10fa632cvc2f21524e33b74ce AT mail DOT gmail DOT com> <4A8DDEE8 DOT 2050606 AT users DOT sourceforge DOT net> <4F3FD634 DOT 7060503 AT dronecode DOT org DOT uk> <20120218175853 DOT GA1249 AT ednor DOT casa DOT cgf DOT cx> <4F3FF10C DOT 1060007 AT cs DOT utoronto DOT ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F3FF10C.1060007@cs.utoronto.ca> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Sat, Feb 18, 2012 at 01:42:20PM -0500, Ryan Johnson wrote: >On 18/02/2012 12:58 PM, Christopher Faylor wrote: >> On Sat, Feb 18, 2012 at 04:47:48PM +0000, Jon TURNEY wrote: >>> On 21/08/2009 00:40, Yaakov (Cygwin/X) wrote: >>>> On 04/08/2009 13:58, Reini Urban wrote: >>>>> Rather than stripping our exe's and dll's I suggest to strip the debug >>>>> info into >>>>> seperate /usr/lib/debug/path/file.dbg and package them seperately in -debuginfo >>>>> packages such as with fedora. >>> FWIW, attached is the patch I've been using to do this, based on Reini's >>> patch, updated to address some of your concerns. >>> >>> This can, as you suggested, strip the symbols to a location outside of ${D} >>> and create a single debuginfo package containing those symbols for each cygport. >>> >>> I know that support for these packages in upset and setup has been rejected by >>> cgf, but it's still useful to me to keep the debuginfo for the packaged builds >>> of Xwin around. >> I can see why it would be useful but why do we need to change anything? >> Why can't you just release a xorg-server-debuginfo package and have >> people install that when you want them to collect debugging? >If they have to install a different binary then the existing stack trace >is no longer useful. Especially if the "debug" package had different >optimization levels and makes a heisenbug disappear. I think you misunderstand what is being discussed. debuginfo packages contain the debugging information for a released binary. There is no "different binary". Actually, if this was what you apparently thought it was, there would be even less reason to make it some sort of special entity. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple