[gdb/testsuite] Fix gdb.rust/traits.exp with -readnow
authorTom de Vries <tdevries@suse.de>
Wed, 28 Oct 2020 20:04:12 +0000 (21:04 +0100)
committerTom de Vries <tdevries@suse.de>
Wed, 28 Oct 2020 20:04:12 +0000 (21:04 +0100)
commit6b68fd45a80196d1462c0fd1e174cead99b3eaeb
treef913fdc084caf81478277d895ab4dc0c529567d2
parent32a5f98aa4b566411df304160b6ed69cc80d8f89
[gdb/testsuite] Fix gdb.rust/traits.exp with -readnow

With test-case gdb.rust/traits.exp and target board readnow we get:
...
FAIL: gdb.rust/traits.exp: print *td
FAIL: gdb.rust/traits.exp: print *tu
...

Mark these FAILs as KFAILs.

Tested on x86_64-linux.

gdb/testsuite/ChangeLog:

2020-10-28  Tom de Vries  <tdevries@suse.de>

* lib/gdb.exp (readnow): Handle arg.
* gdb.rust/traits.exp: Add KFAILs for -readnow.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.rust/traits.exp
gdb/testsuite/lib/gdb.exp