From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EB326385842A; Thu, 22 Feb 2024 10:35:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EB326385842A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1708598146; bh=3cB/GI4UJezjntv38oIrRItyYYHC7y41y8L3VR/P7AU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qxN3CzUecepLrsbhvc0GEXEfOSk2lP3G9CAdNS0JCw8HQbO8x6B0kEyl6QBHp0XKs 9t6DCAcvRs0uryyS9EZ0n1LOW8mbaOTXNDuXG8J6fSsOAZr/g943AsuvEkGLwKOQxu oXflJNyIwJA+ImEyOpy7AWcsFo6dtmeOQplV0a2s= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug dap/31380] [gdb/dap] Ensure responses are flushed to client before exiting Date: Thu, 22 Feb 2024 10:35:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: dap X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org 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: 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=3D31380 --- Comment #7 from Sourceware Commits --- The master branch has been updated by Tom de Vries : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D706c6624c26b= 2c954713c872021594bd3a156dd3 commit 706c6624c26b2c954713c872021594bd3a156dd3 Author: Tom de Vries Date: Thu Feb 22 11:35:26 2024 +0100 [gdb/dap] Fix race between dap exit and gdb exit When DAP shuts down due to an EOF event, there's a race between: - gdb's main thread handling a SIGHUP, and - the DAP main thread exiting. Fix this by waiting for DAP's main thread exit during the gdb_exiting event. Tested on aarch64-linux. Approved-By: Tom Tromey PR dap/31380 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31380 --=20 You are receiving this mail because: You are on the CC list for the bug.=