From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B89863858413; Fri, 4 Mar 2022 14:01:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B89863858413 From: "aburgess at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/28942] Problem with breakpoint condition calling a function in multi-threaded program Date: Fri, 04 Mar 2022 14:01:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aburgess at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2022 14:01:08 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28942 --- Comment #2 from Andrew Burgess --- Created attachment 14005 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D14005&action=3Ded= it A WIP patch Here's the patch I'm currently working on. This should apply to current ma= ster and resolves the issue in this bug, as well as the original issue I was wor= king on. I've run the complete testsuite on GNU/Linux x86-64 with no regression= s. I still need to do lots more testing, especially around things like handling targets that don't support non-stop mode, and what happens if some other th= read stops while we are evaluating the breakpoint condition. But any initial thoughts are welcome. --=20 You are receiving this mail because: You are on the CC list for the bug.=