[gdb/testsuite] Fix gdb.arch/i386-pkru.exp for native-gdbserver
authorTom de Vries <tdevries@suse.de>
Wed, 15 Mar 2023 15:38:03 +0000 (16:38 +0100)
committerTom de Vries <tdevries@suse.de>
Wed, 15 Mar 2023 15:38:03 +0000 (16:38 +0100)
commit7b0d27b62f51e0997407383100dbc64b7bc5f4ef
tree7d8976269637bb85ad622139a1e6ef3e8dd221be
parent86091eae202f32acee55afdb6134e7f4efa20209
[gdb/testsuite] Fix gdb.arch/i386-pkru.exp for native-gdbserver

With test-case gdb.arch/i386-pkru.exp and target board native-gdbserver we run
into:
...
FAIL: gdb.arch/i386-pkru.exp: variable after reading pkru
...

This looks similar to the the problem for which there's already an xfail, so
fix this by extending the xfail matching.

Tested on x86_64-linux.

Also tested on openSUSE Tumbleweed, where all tests in the test-case pass.
gdb/testsuite/gdb.arch/i386-pkru.exp