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: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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-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 AT btinternet DOT com X-OWM-Source-IP: 31.51.207.12 (GB) X-OWM-Env-Sender: jonturney AT btinternet DOT com X-VadeSecure-score: verdict=clean score=0/300, class=clean Subject: Re: GDB and thread To: The Cygwin Mailing List References: From: Jon Turney Cc: Marco Atzeri Message-ID: 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: 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