This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] "gdb.arch/i386-pkru.exp: probe PKRU support" shouldn't FAIL if not supported
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Wed, 08 Mar 2017 08:45:34 -0500
- Subject: [binutils-gdb] "gdb.arch/i386-pkru.exp: probe PKRU support" shouldn't FAIL if not supported
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 25dcbff6ef0088e080d92b3cbc346ae0b5071d9d ***
Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 25dcbff6ef0088e080d92b3cbc346ae0b5071d9d
"gdb.arch/i386-pkru.exp: probe PKRU support" shouldn't FAIL if not supported
Currently I get:
(gdb) print have_pkru()
$1 = 0
(gdb) FAIL: gdb.arch/i386-pkru.exp: probe PKRU support
UNSUPPORTED: gdb.arch/i386-pkru.exp: processor does not support protection key feature.
Probing suceeded, so that should be a PASS -> UNSUPPORTED.
gdb/testsuite/ChangeLog:
2017-03-08 Pedro Alves <palves@redhat.com>
* gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
PKRU as not supported as a PASS.