delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/04/15/13:34:27

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=YpSdT84f+ctX8n1yOsRItLa3STf/fjrCj1IrZNxByAb
S87WA/fP05Hb8YAN4rFA6R2A2tEQJUTw1XtvXBb5BZ4KmWUCJt1dRBPhpPDTs6kx
jkMdN2gecLAqnMCIiYJgwk8sgoqwqFHQYj4E6xSh0CjLHZG9ILyZ7qCfgeCRZvro
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=OQrXOW2lwraahNw3heAEm1y8KX0=; b=GmRcZJx2RrOyb/6Fo
C/s8e9ZA2TY6SeHUTLFLWRGbUJycmQGZ0xbhkhTLQ+ZIY8KP4PpyDV2M/qK0ZJWc
cZJC9dwI9paqlvO+l9LYxeicPEiXih++idsSXsCfFY6Y9Xy0efNdRjUQUWIt0Eds
tPQFyatEtZrEXVZ0kFojK69be0=
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
X-Spam-SWARE-Status: No, score=-5.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1
X-Received: by 10.180.88.33 with SMTP id bd1mr1533969wib.18.1366047248341; Mon, 15 Apr 2013 10:34:08 -0700 (PDT)
Message-ID: <516C3ABE.8000202@gmail.com>
Date: Mon, 15 Apr 2013 18:37:02 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT gmail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Debugging totally broken with latest everything?
References: <516C24C5 DOT 80107 AT gmail DOT com> <20130415171412 DOT GA3356 AT ednor DOT casa DOT cgf DOT cx>
In-Reply-To: <20130415171412.GA3356@ednor.casa.cgf.cx>

On 15/04/2013 18:14, Christopher Faylor wrote:
> On Mon, Apr 15, 2013 at 05:03:17PM +0100, Dave Korn wrote:
>>  Some notes on the above:
>>
>>  The same happens with both the previous version and current snapshot of the
>> cygwin dll.  It also happens with both current gdb and an old gdb
>> 6.8.0.20080328-cvs that I have lying around.
>>
>>  The hw.exe in question is your bog-standard hello world, compiled with "-g
>> -O0" using gcc4-4.5.3-3.
>>
>>  "kill -9" won't kill gdb; I have to use Windows task manager.  If I've
>> attached gdb to the hung gdb, I can kill it from there using the "k" instruction.
>>
>>  Anyone else having similar problems?
> 
> You're probably seeing a known bug in gdb where it no longer works well
> when run from a console window.  There is a race where gdb tries to get
> tty information from a stopped cygwin process.  Although I didn't
> introduce the problem, I have tried to fix it from time to time without
> much luck.

  It must be an interaction between gdb and the cygwin dll, since my
old-and-previously-working-just-fine-in-a-console gdb-6 has also stopped working.

> Debugging from mintty will probably work better.

  It certainly does.  Thanks for the tip.

    cheers,
      DaveK


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