X-Recipient: archive-cygwin@delorie.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:cc:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=wejMfDy+e03ukblP
	HClgB8fugF6FFTCV9HzHR2s4z50JP/acv/ewEIkqbL6hs7pHKyhZ5k72RF1+3Nad
	2Y8yXQg7WSsexAQ0s/JW6AjnPF3fNe1QmB63XlYmUvwTW2fuOmdn95KUjsIf2Th9
	ftt6/l+peswj9vkedk6BWsS3IDQ=
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:cc:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=GXaBkphVNJlkjGxnggBajL
	4lXEo=; b=xdIsTZ2DZNft5xmB1LrN1ZewoOpMR5kHZdCTVTBWaQhFNQO77PDRM/
	1JKosbz+R7LcDYVpho/cnv/DzhXQgsx/LNY+yrxruANshdHC3Dvo3r6PXpC82rsJ
	4xRWbgJvQ4JcBJKLve9vXCpTYPO3XDybiISpFbLlO/Iq8MlDItFtA=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00,FORGED_SPF_HELO,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=runner
X-HELO: sa-prd-fep-043.btinternet.com
Authentication-Results: btinternet.com;    auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com
X-OWM-Source-IP: 31.51.207.12 (GB)
X-OWM-Env-Sender: jonturney@btinternet.com
X-VadeSecure-score: verdict=clean score=0/300, class=clean
Subject: Re: GDB and thread
To: The Cygwin Mailing List <cygwin@cygwin.com>
References: <b0d8c3b7-6ebd-3fce-f1b6-4542fb5a37c7@gmail.com>
From: Jon Turney <jon.turney@dronecode.org.uk>
Cc: Marco Atzeri <marco.atzeri@gmail.com>
Message-ID: <a6cde493-45b2-f448-1f03-ba66c9bd244b@dronecode.org.uk>
Date: Sun, 29 Dec 2019 12:58:13 +0000
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
MIME-Version: 1.0
In-Reply-To: <b0d8c3b7-6ebd-3fce-f1b6-4542fb5a37c7@gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

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


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

