From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 81398386F018; Thu, 11 Feb 2021 10:52:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 81398386F018 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/27396] New: setup_xfail leaks into next test-case Date: Thu, 11 Feb 2021 10:52:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2021 10:52:48 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27396 Bug ID: 27396 Summary: setup_xfail leaks into next test-case Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: testsuite Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- When running the testsuite with target board, unix/gdb:debug_flags=3D-gdwar= f-5 I first run into: ... (gdb) PASS: gdb.cp/temargs.exp: test value of I in templ_m info addr I^M ERROR: GDB process no longer exists GDB process exited with wait status 16930 exp19 0 0 CHILDKILLED SIGABRT SIG= ABRT UNRESOLVED: gdb.cp/temargs.exp: test address of I in templ_m DUPLICATE: gdb.cp/temargs.exp: test address of I in templ_m ERROR: Couldn't send print P =3D=3D &a_global to GDB. ERROR: can not find channel named "exp19" ... and then in the next test-case: ... (gdb) set multiple-symbols ask^M (gdb) XPASS: gdb.cp/templates.exp: set multiple-symbols ask (PRMS gcc/49546) ... It seems the setup_xfail executed in temargs.exp: ... if $have_older_template_gcc { setup_xfail "*-*-*" } else { setup_xfail gcc/49546 "*-*-*" } gdb_test "print F" { =3D \(void \(\*\)\(int\)\) 0x[0-9a-f]+ }= \ "test value of F in k3_m" ... is effective here in templates.exp: ... gdb_test_no_output "set multiple-symbols ask" ... --=20 You are receiving this mail because: You are on the CC list for the bug.=