From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 265DF386C5AC; Thu, 15 Feb 2024 18:21:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 265DF386C5AC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1708021276; bh=AF3mQwr7+TQBwrH9rhfCKAFnBYB42xRHuyVzkAEE1Vk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=nFSD3ck0L+GC1bGgaZLxYbno9ZNNoZUJglcUf+lCETfnAc5vALhchyTpqxd90IJa0 9ZNan70wgwqrKu0sVzbEvXYfzMFjDeaHppqX83qOVb77/kibMvi92k9KDypFxpcEXw 0vJRM5hjXAdMAQ33/opgta47v134+vzgbOqITUJI= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug dap/31380] [gdb/dap] Ensure responses are flushed to client before exiting Date: Thu, 15 Feb 2024 18:21:15 +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: tromey at sourceware dot 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 #2 from Tom Tromey --- Also: + send_gdb("quit") I wonder if this is really needed after all. I applied the queue changes (which IMO should go in ASAP) but left this line out, and it all seems to work. The only reason io.py had that send_quit was to try to deal with the flushing issue, which as you found out was broken all along. --=20 You are receiving this mail because: You are on the CC list for the bug.=