From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 63B4F3893675; Wed, 16 Nov 2022 14:03:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 63B4F3893675 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1668607400; bh=5reUSSKmEpuf6zro4rMcwlu8D6nXPHWmWZthxMwchvY=; h=From:To:Subject:Date:From; b=GmccvrzJylFwkoZBkAX+WgdXvNWwi+PsAgSiSx43P9oVeYzmZO285ZvQPOV0scxQN cnFQTYbyeJZQVYjrV9dTpywgUrEcVQYDKC9ISjG7h0m4HCbXPzJxFuXRx+FKYHpYXg fWYmKqc4Ggr4KvDSn9opnrXFQQRFMt/Rx3OqgKAI= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug tdep/29790] New: [gdb] FAIL: gdb.arch/i386-pkru.exp: read value after setting value Date: Wed, 16 Nov 2022 14:03:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: tdep X-Bugzilla-Version: 12.1 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29790 Bug ID: 29790 Summary: [gdb] FAIL: gdb.arch/i386-pkru.exp: read value after setting value Product: gdb Version: 12.1 Status: NEW Severity: normal Priority: P2 Component: tdep Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- Once in a blue moon, our OBS runs on a machine with pkru support, and I got (with a gdb 12.1-based package): ... Running /home/abuild/rpmbuild/BUILD/gdb-12.1/gdb/testsuite/gdb.arch/i386-pkru.exp .= .. PASS: gdb.arch/i386-pkru.exp: probe PKRU support PASS: gdb.arch/i386-pkru.exp: pkru register PASS: gdb.arch/i386-pkru.exp: continue to breakpoint: break here 1 PASS: gdb.arch/i386-pkru.exp: read pkru register PASS: gdb.arch/i386-pkru.exp: set pkru value FAIL: gdb.arch/i386-pkru.exp: read value after setting value PASS: gdb.arch/i386-pkru.exp: continue to breakpoint: break here 2 FAIL: gdb.arch/i386-pkru.exp: variable after reading pkru ... In more detail: ... (gdb) PASS: gdb.arch/i386-pkru.exp: read pkru register print /x $pkru =3D 0x44444444^M $3 =3D 0x44444444^M (gdb) PASS: gdb.arch/i386-pkru.exp: set pkru value info register pkru^M pkru 0x12345678 305419896^M (gdb) FAIL: gdb.arch/i386-pkru.exp: read value after setting value ... --=20 You are receiving this mail because: You are on the CC list for the bug.=