delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/03/09/18:08:31

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.8 required=5.0 tests=AWL,BAYES_00,KHOP_SPAMHAUS_DROP,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
X-CornellRouted: This message has been Routed already.
Message-ID: <513BC0C9.8030409@cornell.edu>
Date: Sat, 09 Mar 2013 18:07:53 -0500
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: emacs-X11 crashes under gdb in recent snapshots
References: <5137B57A DOT 2020204 AT cornell DOT edu> <20130307054426 DOT GB8145 AT ednor DOT casa DOT cgf DOT cx> <20130307064921 DOT GA2424 AT ednor DOT casa DOT cgf DOT cx> <20130308163430 DOT GA814 AT ednor DOT casa DOT cgf DOT cx> <20130309220222 DOT GB7961 AT ednor DOT casa DOT cgf DOT cx>
In-Reply-To: <20130309220222.GB7961@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 3/9/2013 5:02 PM, Christopher Faylor wrote:
> On Fri, Mar 08, 2013 at 11:34:30AM -0500, Christopher Faylor wrote:
>> On Thu, Mar 07, 2013 at 01:49:21AM -0500, Christopher Faylor wrote:
>>> On Thu, Mar 07, 2013 at 12:44:26AM -0500, Christopher Faylor wrote:
>>>> On Wed, Mar 06, 2013 at 04:30:34PM -0500, Ken Brown wrote:
>>>>> Starting with the 20130102 snapshot, I get a SEGV if I run emacs-X11
>>>>> under gdb.
>>>>
>>>> Thanks for the explicit instructions.
>>>>
>>>> I can reproduce this.  Investigating.
>>>
>>> I see what the problem is but it's too late to fix it now.
>>>
>>> So, instead, I will go to bed and obsess and dream about it instead.
>>>
>>> I will fix it tomorrow, though.
>>
>> Or not.  RL intervened.  Still checking.  It's trickier to fix than
>> I thought.
>
> This should be fixed now.  You'll need the new just-released gdb and
> the upcoming snapshot for this to work correctly.

Confirmed.  Thanks.

> Changes in gdb and cygwin1.dll should now allow gdb to recognize
> Cygwin-specific signals.  That's something that I've wanted to do for
> more than ten years.  I startled my wife with my whoop! when gdb
> reported a "SIGTERM" at the correct line in my source code.

Do you have a simple test case that illustrates this new feature?  I'd 
like to startle my wife too.

Ken

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