From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9D5383858D37; Mon, 9 Jan 2023 14:53:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9D5383858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673275982; bh=G0YphUYJavda7qWyC8ElNDHxlYNGlz/gIzhgckD3obU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JPNtnTWHLb6cnAItwDZvKZ4iaszsC66GCoxFxKrGd0CeVLTenl0jBkiAsiFaBEWwI 3WB4+JvGj9KMY/qM6Y4RbsreGTl3dt8OpKyEPeQtmCay548KHUU1goBLJrq/KY3AV4 XyI36ZjvMYPSe7kIJDppKhQkmSqMgiVZXT8hRILA= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/29833] [gdb] FAIL: gdb.server/monitor-exit-quit.exp: monitor exit Date: Mon, 09 Jan 2023 14:53:02 +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: vries 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=3D29833 --- Comment #9 from Tom de Vries --- OK, I've tried another approach: set debug serial 1, in combination with: ... +expect { + -i $server_spawn_id + -re "(.*)" { + } +} ... to drain the gdbserver output after each command. Passing execution: ... (gdb) PASS: gdb.server/monitor-exit-quit.exp: set debug serial 1 monitor exit^M [^M w $][q][R][c][m][d][,][6][5][7][8][6][9][7][4][#][d][7][^M r $][O][K][#][9][a](gdb) PASS: gdb.server/monitor-exit-quit.exp: monitor ex= it set confirm off^M (gdb) PASS: gdb.server/monitor-exit-quit.exp: set confirm off quit^M [^M w $][q][T][S][t][a][t][u][s][#][4][9][^M r ]Remote connection closed^M PASS: gdb.server/monitor-exit-quit.exp: quit ... Failing execution: ... (gdb) PASS: gdb.server/monitor-exit-quit.exp: set debug serial 1 monitor exit^M [^M w $][q][R][c][m][d][,][6][5][7][8][6][9][7][4][#][d][7][fd13->timer-scheduled= ]^M [^M r $][O][K][#][9][fd13->fd-scheduled]^M [a](gdb) PASS: gdb.server/monitor-exit-quit.exp: monitor exit [fd13->timer-scheduled]^M [][fd13->synchronous]^M Remote connection closed^M (gdb) FAIL: gdb.server/monitor-exit-quit.exp: set confirm off set confirm off^M (gdb) quit^M PASS: gdb.server/monitor-exit-quit.exp: quit ... --=20 You are receiving this mail because: You are on the CC list for the bug.=