public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tdep/27028] New: FAIL: gdb.arch/i386-pkru.exp: pkru register
@ 2020-12-07 14:31 vries at gcc dot gnu.org
2021-11-29 9:44 ` [Bug tdep/27028] " vries at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: vries at gcc dot gnu.org @ 2020-12-07 14:31 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27028
Bug ID: 27028
Summary: FAIL: gdb.arch/i386-pkru.exp: pkru register
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: tdep
Assignee: unassigned at sourceware dot org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
On OBS SLE-15, I see:
...
(gdb) print have_pkru()^M
$1 = 1^M
(gdb) PASS: gdb.arch/i386-pkru.exp: probe PKRU support
print $pkru^M
$2 = 1431655764^M
(gdb) FAIL: gdb.arch/i386-pkru.exp: pkru register
...
I can't reproduce this on my laptop, because:
...
(gdb) print have_pkru()^M
$1 = 0^M
(gdb) PASS: gdb.arch/i386-pkru.exp: probe PKRU support
UNSUPPORTED: gdb.arch/i386-pkru.exp: processor does not support protection key
feature.
...
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tdep/27028] FAIL: gdb.arch/i386-pkru.exp: pkru register
2020-12-07 14:31 [Bug tdep/27028] New: FAIL: gdb.arch/i386-pkru.exp: pkru register vries at gcc dot gnu.org
@ 2021-11-29 9:44 ` vries at gcc dot gnu.org
2021-11-29 10:54 ` [Bug testsuite/27028] " vries at gcc dot gnu.org
2021-12-01 13:41 ` vries at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: vries at gcc dot gnu.org @ 2021-11-29 9:44 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27028
--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Hmm, 1431655764 is 0x0x55555554, and in kernel-parameters.txt we find:
...
init_pkru= [X86] Specify the default memory protection keys rights
register contents for all processes. 0x55555554 by
default (disallow access to all but pkey 0). Can
override in debugfs after boot.
...
So, why does the test expect 0?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug testsuite/27028] FAIL: gdb.arch/i386-pkru.exp: pkru register
2020-12-07 14:31 [Bug tdep/27028] New: FAIL: gdb.arch/i386-pkru.exp: pkru register vries at gcc dot gnu.org
2021-11-29 9:44 ` [Bug tdep/27028] " vries at gcc dot gnu.org
@ 2021-11-29 10:54 ` vries at gcc dot gnu.org
2021-12-01 13:41 ` vries at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: vries at gcc dot gnu.org @ 2021-11-29 10:54 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27028
Tom de Vries <vries at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|tdep |testsuite
--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
https://sourceware.org/pipermail/gdb-patches/2021-November/183939.html
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug testsuite/27028] FAIL: gdb.arch/i386-pkru.exp: pkru register
2020-12-07 14:31 [Bug tdep/27028] New: FAIL: gdb.arch/i386-pkru.exp: pkru register vries at gcc dot gnu.org
2021-11-29 9:44 ` [Bug tdep/27028] " vries at gcc dot gnu.org
2021-11-29 10:54 ` [Bug testsuite/27028] " vries at gcc dot gnu.org
@ 2021-12-01 13:41 ` vries at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: vries at gcc dot gnu.org @ 2021-12-01 13:41 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27028
Tom de Vries <vries at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
Target Milestone|--- |12.1
--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> ---
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=a561456f2d426ae8ca9b8c41086cf846f334a9cd
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-12-01 13:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-07 14:31 [Bug tdep/27028] New: FAIL: gdb.arch/i386-pkru.exp: pkru register vries at gcc dot gnu.org
2021-11-29 9:44 ` [Bug tdep/27028] " vries at gcc dot gnu.org
2021-11-29 10:54 ` [Bug testsuite/27028] " vries at gcc dot gnu.org
2021-12-01 13:41 ` vries at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).