From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6F8DF3858C78; Tue, 10 Jan 2023 10:43:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6F8DF3858C78 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673347425; bh=IYyhNjpZZbY3BGohrjV4nt5tOtL8gSb38IQnPcm6xS0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kpyqERXet7Lgl7OR5SEvBeawvDR/+e5UZ9J1GIGRNaYihJ8QVgAWQP8zGTS6T5u/7 ETrJqQqNEBF7WoKSdEEkjxUEX7FK7ObCHhYg+nONnlJG7RsTWO80a1xeIC+e/h034U PlYrNRVvGGKEIV9lz9L0w+J/zJrG+Kd+2iCPzl74= 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: Tue, 10 Jan 2023 10:43:45 +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 #11 from Tom de Vries --- Another approach: ... diff --git a/gdb/testsuite/gdb.server/monitor-exit-quit.exp b/gdb/testsuite/gdb.server/moni tor-exit-quit.exp index 8fa41e3f07f..5fde1317cf5 100644 --- a/gdb/testsuite/gdb.server/monitor-exit-quit.exp +++ b/gdb/testsuite/gdb.server/monitor-exit-quit.exp @@ -36,9 +36,13 @@ save_vars { GDBFLAGS } { set GDBFLAGS "$GDBFLAGS -ex \"set sysroot\"" } - clean_restart $binfile + clean_restart } +gdb_test_no_output "set remotelogfile ~/gdb.serial.log" + +gdb_load $binfile + # Make sure we're disconnected, in case we're testing with an # extended-remote board, therefore already connected. gdb_test "disconnect" ".*" ... Passing version: ... c monitor exit w $qRcmd,65786974#d7 r $OK#9a c set confirm off c quit w $qTStatus#49 r End of log ... Failing version: ... c monitor exit w $qRcmd,65786974#d7 r $OK#9a End of log ... --=20 You are receiving this mail because: You are on the CC list for the bug.=