From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 30F7E388A422; Thu, 26 Nov 2020 16:50:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 30F7E388A422 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/26953] [gcc 4.8] FAIL: gdb.base/endianity.exp: x/xh &o.w Date: Thu, 26 Nov 2020 16:50:57 +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: 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 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, 26 Nov 2020 16:50:57 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26953 --- Comment #1 from Tom de Vries --- Tentative patch: ... diff --git a/gdb/testsuite/gdb.base/endianity.exp b/gdb/testsuite/gdb.base/endianity.exp index 2fa9ed3..61cbb50 100644 --- a/gdb/testsuite/gdb.base/endianity.exp +++ b/gdb/testsuite/gdb.base/endianity.exp @@ -36,10 +36,12 @@ gdb_test "print o.d =3D -23.125" "=3D -23.125" # scalar_storage_order requires gcc >=3D 6 if { ([test_compiler_info {gcc-[0-5]-*}] || ![test_compiler_info gcc*]) } { - setup_xfail "*-*-*" + gdb_test "x/x &o.v" "0x00000004" + gdb_test "x/xh &o.w" "0x0003" +} else { + gdb_test "x/x &o.v" "0x04000000" + gdb_test "x/xh &o.w" "0x0300" } -gdb_test "x/x &o.v" "0x04000000" -gdb_test "x/xh &o.w" "0x0300" gdb_test "print o" "=3D {v =3D 4, w =3D 3, x =3D 2, f =3D 1.5, cplx =3D 1.= 25 \\+ 7.25i, d =3D -23.125}" \ "print o after assignment" ... --=20 You are receiving this mail because: You are on the CC list for the bug.=