From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C3293385703F; Wed, 30 Nov 2022 12:50:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C3293385703F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1669812647; bh=KjET9rf1R8W7F4ks0LbfsA3JHoU3ubRlYBnqcXZod9U=; h=From:To:Subject:Date:In-Reply-To:References:From; b=cyQR9yapzThD+qI+LK93YpS8rxQKS6Wxa/3VqXCBp/Q/V3QQesuxlRA7PJODouRxg ux1b/fNQ+eHlD8UMi3jjmXZAQ26wBbcW5SfEDhEr2daYmjLsujA6NU810saLLdF8Me k9hI7tLnPhp9RAAcbuYjoog/L6ofUnJqpG2UZwyc= From: "simark at simark dot ca" To: gdb-prs@sourceware.org Subject: [Bug gdb/29833] [gdb] FAIL: gdb.server/monitor-exit-quit.exp: monitor exit Date: Wed, 30 Nov 2022 12:50:47 +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: simark at simark dot ca 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: 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=3D29833 Simon Marchi changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |simark at simark dot ca --- Comment #3 from Simon Marchi --- I saw it too on my CI. In the normal case, the monitor exit command does not cause GDB to realize = the remote connection has closed. It reads the RSP response ("OK") and that's = it.=20 I think it does not realize the connection has closed because the remote connection fd is not in the event loop, and it does not try to read past th= at "OK" response. So, the question is, what happens differently in the failing case for GDB to realize immediately the connection has closed? --=20 You are receiving this mail because: You are on the CC list for the bug.=