delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/18/13:42:41

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <4F3FF10C.1060007@cs.utoronto.ca>
Date: Sat, 18 Feb 2012 13:42:20 -0500
From: Ryan Johnson <ryan DOT johnson AT cs DOT utoronto DOT ca>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: add -debuginfo packages
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>
In-Reply-To: <20120218175853.GA1249@ednor.casa.cgf.cx>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 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.

Ryan

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019