delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/12/29/11:50:53

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=Fj6qsj1ucIH8lM9/
r50B6VV0ueK1fjI/ZIhYZqqReGMySZgNUwKaXICfDFxawJDT2p2aAN5xV76PTNTC
t2HLnz3fJQWOC8Zi28mOSyJZx0RjtE7Xz0sFHdSqdO9ngSPkLJqC0iAAuFDWrDyz
mteVisWwExnswU1S3OQjacJLJVM=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=53bjbEH3BF0zTGasyAp2cq
rg5yg=; b=v/twjV9JQFtnodvSA5LWwlcVzH59bahoswgomHk6qnxJe/J0efNNHo
Xe7p7CYise2XNksXazVB8DRhUgVk+8cRDIbtct4t+CErLxpxtey72iuI6VMKEBVz
ot7xrpOAdRPDaalUpFUHBGS6IVV6Gq4fSIBdUdgZqvML0U4bB3gmA=
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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,SPF_PASS autolearn=no version=3.3.1 spammy=HContent-Transfer-Encoding:8bit
X-HELO: mail-wm1-f46.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=6my+I0lhxM2zuQUTlGklm1QIft8GNEgK864tPgxBWoo=; b=jjIqsZDHEFRnsivD0oj+YQ5E7DVOFBkFOk1QGGr6LKmeZHlLgB/FLuTEBqdWHgwVAY I5Qxs5nnI528mZcPug3FbZapqB1Z5zn/FGE6uQfblgPoTxcNq48CyZKfsFi5bS+834x8 MHVgz4lz8c2W+ZjDlnNRwRgFLlJWkFkqZOAsAuKDuaxETF6hJ7Ge2Bu0bZbVfr8oHOAv ZE8I0wgSDHvxq0SJOrWktMptC4Cr4gNrb0cG07JZx9Gs4ZyqFfZJyU9IN8frOdtyOJcL RtvaNN2SPNZpkQLBCjNwuP8IDTIwFeIHQg9IILWCTHHrowjINhR7g9O/qBYeSFLY7+Yx yI8Q==
Subject: Re: GDB and thread
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
References: <b0d8c3b7-6ebd-3fce-f1b6-4542fb5a37c7 AT gmail DOT com> <a6cde493-45b2-f448-1f03-ba66c9bd244b AT dronecode DOT org DOT uk>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <3196bbfd-b460-b55e-350b-fe8a896ab3dd@gmail.com>
Date: Sun, 29 Dec 2019 17:49:54 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1
MIME-Version: 1.0
In-Reply-To: <a6cde493-45b2-f448-1f03-ba66c9bd244b@dronecode.org.uk>
X-IsSubscribed: yes

Am 29.12.2019 um 13:58 schrieb Jon Turney:
> On 28/12/2019 21:27, Marco Atzeri wrote:
>> Hi,
>> I am trying to debug the libuv test failures,
>> but it seems I am not able to convince GDB on stopping
>> just before the failure.
> 
> I think that the problem here is that the libuv test runner forks() to 
> run each test in a subprocess.
> 
> I don't think 'set follow-fork-mode child' works in Cygwin gdb 
> (unfortunately).  I'm not sure if it's even possible to implement...
> 

thanks for the hint, it seems the right one.

https://sourceware.org/gdb/onlinedocs/gdb/Forks.html

I doubt the sleep suggestion will work, but at least
now I know where is the issue.
I suspect a nice insertion of printf in the code will
be easier for the debugging scope.

Regards
Marco

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