From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E2E6F385772A; Mon, 8 Jan 2024 18:57:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E2E6F385772A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1704740277; bh=msfq4KbratdWT9MbZnP8KY7kGFapzk5hEWpMpRJxuTY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wHbp2JRH8rQ4+8krAUo/oxnZpXfvaupG6rbdTJIfbzvVgqpuNzw4B2AB8E8ZqaihW jKXo5rIGWX8fBrQO8K/XxmYJUiU3osrLkXm4jp75/SpgOgkv/Y5YqIkoSlQ3R/UnWX eSYxw5TJuqt7rrhvlhLZ/IY3Qktd5v+ThTIFzz9k= From: "ssbssa at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug breakpoints/21497] FreeBSD: infrun.c:5565: internal-error: int finish_step_over(execution_control_state*): Assertion `ecs->event_thread->control.trap_expected' failed Date: Mon, 08 Jan 2024 18:57:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: breakpoints X-Bugzilla-Version: 7.12.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ssbssa at sourceware dot org X-Bugzilla-Status: UNCONFIRMED 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: cc 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D21497 Hannes Domani changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ssbssa at sourceware dot o= rg --- Comment #9 from Hannes Domani --- (In reply to Sourceware Commits from comment #8) > The master branch has been updated by John Baldwin : >=20 > https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git; > h=3Da6f51542941e072d942fc8df7353bd10097974ea >=20 > commit a6f51542941e072d942fc8df7353bd10097974ea > Author: John Baldwin > Date: Mon Aug 14 13:38:42 2023 -0700 >=20 > fbsd-nat: Defer any ineligible events reported by wait. >=20=20=20=20=20 > If wait_1 finds an event for a thread or process that does not match > the set of threads and processes previously resumed, defer the event. > If the event is for a specific thread, suspend the thread and continue > the associated process before waiting for another event. >=20=20=20=20=20 > One specific example of such an event is if a thread is created while > another thread in the same process hits a breakpoint. If the second > thread's event is reported first, the target resume method does not > yet "know" about the new thread and will not suspend it via > PT_SUSPEND. When wait is called, it will probably return the event > from the first thread before the result of the step from second > thread. This is the case reported in PR 21497. >=20=20=20=20=20 > Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D21497 Can this be closed? --=20 You are receiving this mail because: You are on the CC list for the bug.=