delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/12/28/16:28:01

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:from:subject:to:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=Ij8
vbCwhWgpwz+HYcfKGwnZjKt2drlkC/5yLM4xk1+L6jDxiT7hliOYnHlCqC8XQqOw
F05y/LwISq1E+ES+OkBZEHm/PwtMHc5TsAHW8DnCAk5XuBVr5URUsWnnWz/tKAR2
cqMYoz+75zMkEgYVP2hi4YJ0NdZGe59OgeIY5VBI=
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:from:subject:to:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=Jd1aSOlUn
3IRDwBgSex421zl+Jo=; b=cj3MdG2rBglFzs7/Z1bEhtL8/qRxyp8v0GTRvsco+
a6LfnABuWnqZtFA34gUaPxpRWlIJH6R+d9wo4w7WeI/3rJ7l1riwx7z83IVG2jig
rBiafRvkgtYFlwAxS2bkwwdxuPxGVET0xC5GJqg5RlhLx5sGGOWxUtGOObbimnM9
yI=
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.0 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=stopping
X-HELO: mail-wr1-f52.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=TZ6sOsGDkSImsGj7ZjbVPRbncapGo1z72/bnHF76fY8=; b=ofGMUPnXw6uOSPr5KX4v5IXyddGHAQWMX3NqRpRfNh6TDBXWrSe+zqjpL3EGXwvesW QRv4jTjDUIRhMuBA4F4ft8VHB506fuagM/dRqt/cbzpwGD3ESYOzwz/KxBpjhFVHYpKR Uco/5uIWANgg8BTKVVZBJ5OHNW76b34a9totOeMRiPRle1QqhA+0YEG1OSt9QxeWF4wU LYwHnQqGkir5/zNxj6cCpfqMmkVqVz/54KosDTqewtz1IEuSloOfL96nTpZ02JvpiUAp T8PQsoWELd3n1dqclX9VcjgIPhpE641qXYl3suNBN4vgFVG21Zx9BE//WWqSG9sbpjJD tSnw==
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Subject: GDB and thread
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Message-ID: <b0d8c3b7-6ebd-3fce-f1b6-4542fb5a37c7@gmail.com>
Date: Sat, 28 Dec 2019 22:27:02 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1
MIME-Version: 1.0
X-IsSubscribed: yes

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.

Is "thread apply all" working on Cygwin ?
The fact that produces no output in comparison to
a normal break command is a bit strange

(gdb) break test-dlerror.c:34
Breakpoint 1 at 0x10040b0b0: file 
/pub/devel/libuv/libuv-1.34.0/test/test-dlerro
r.c, line 34.
(gdb) thread apply all break test-dlerror.c:34

(gdb) run dlerror
Starting program: 
/cygdrive/d/cyg_pub/devel/libuv/libuv-1.34.0-build/test/.libs/
run-tests.exe dlerror
[New Thread 139176.0x231a0]
[New Thread 139176.0x231c8]
[New Thread 139176.0x21a0c]
[New Thread 139176.0x2332c]
[New Thread 139176.0x230b0]
[New Thread 139176.0x231cc]
[New Thread 139176.0x23028]
[New Thread 139176.0x23214]
[Thread 139176.0x23028 exited with code 0]
not ok 1 - dlerror
# exit code 134
# Output from process `dlerror`:
# Assertion failed in /pub/devel/libuv/libuv-1.34.0/test/test-dlerror.c 
on line
45: strstr(msg, path) != NULL
[Thread 139176.0x231c8 exited with code 134]
[Thread 139176.0x230b0 exited with code 134]
[Thread 139176.0x2332c exited with code 134]
[Thread 139176.0x23214 exited with code 134]
[Thread 139176.0x21a0c exited with code 134]
[Inferior 1 (process 139176) exited with code 0206]
(gdb)


Any hint will be appreciated
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