From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6865F3858D20; Tue, 20 Dec 2022 09:48:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6865F3858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1671529698; bh=8s2S7dY8h9BHHAyNZLm57tLHVM9eh54BONfUkeqVrQU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=CUaTkLFbrbEOmrj9IvD0pyEdQOGE4s9t0uifmj5VRs/zYjIT3inje1jm3BDmOG9t3 Y5/TgMuRJeSeAQhUnQk2gX4ssM04dBit3q3EuURWTYG70iBI+alU7BszUO63odNLW0 CljIKbqPi5SNhDrCymFiTyCZ2G+A51BlMUvZvMzw= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/29920] [gdb/testsuite] FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 1 Date: Tue, 20 Dec 2022 09:48:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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: component short_desc 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=3D29920 Tom de Vries changed: What |Removed |Added ---------------------------------------------------------------------------- Component|gdb |testsuite Summary|[gdb] FAIL: |[gdb/testsuite] FAIL: |gdb.cp/step-and-next-inline |gdb.cp/step-and-next-inline |.exp: no_header: next step |.exp: no_header: next step |1 |1 --- Comment #2 from Tom de Vries --- Fix: ... diff --git a/gdb/testsuite/gdb.cp/step-and-next-inline.exp b/gdb/testsuite/gdb.cp/step-and-next-inline.exp index 8b2ad2766bc..36fac239e2f 100644 --- a/gdb/testsuite/gdb.cp/step-and-next-inline.exp +++ b/gdb/testsuite/gdb.cp/step-and-next-inline.exp @@ -60,7 +60,16 @@ proc do_test { use_header } { } gdb_test "bt" "\\s*\\#0\\s+main.*" "in main" - gdb_test "step" ".*" "step into get_alias_set" + set line1 {\t\{} + set line2 {\t if \(t !=3D NULL} + gdb_test_multiple "step" "step into get_alias_set" { + -re -wrap $line1 { + gdb_test "next" $line2 $gdb_test_name + } + -re -wrap $line2 { + pass $gdb_test_name + } + } gdb_test "bt" "\\s*\\#0\\s+get_alias_set\[^\r\]*${srcfile}:.*" \ "not in inline 1" ... --=20 You are receiving this mail because: You are on the CC list for the bug.=