[gdb/testsuite] Handle has_native_target in gdb.testsuite/gdb-caching-proc-consistenc...
authorTom de Vries <tdevries@suse.de>
Sun, 16 Jul 2023 14:18:41 +0000 (16:18 +0200)
committerTom de Vries <tdevries@suse.de>
Sun, 16 Jul 2023 14:18:41 +0000 (16:18 +0200)
commit5c77898d60cfea469a86fc6026f51b4a6d8e7444
tree792fefb60ce4102145c3c525dd9a57caea1b8bd2
parent21751cefc44b4544752e38119b7a874b052cd7f3
[gdb/testsuite] Handle has_native_target in gdb.testsuite/gdb-caching-proc-consistency.exp

With test-case gdb.testsuite/gdb-caching-proc-consistency.exp we run into:
...
ERROR: no fileid for xerxes
Couldn't send help target native to GDB.
UNRESOLVED: <exp>: have_native_target: initial: help target native
...

Fix this by handling have_native_target in
gdb.testsuite/gdb-caching-proc-consistency.exp.

Tested on x86_64-linux.
gdb/testsuite/gdb.testsuite/gdb-caching-proc-consistency.exp