]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[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)
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

index df7715f9c248c585a89f554606ac72eab836cd4d..4d57f5bf3ec29ed7c8c3b88b60c5c66acdbb9f4f 100644 (file)
@@ -90,6 +90,7 @@ proc test_file { file } {
                "is_address_zero_readable" { set setup_gdb 1 }
                "target_is_gdbserver" { set setup_gdb 1 }
                "supports_memtag" { set setup_gdb 1 }
+               "have_native_target" { set setup_gdb 1 }
                default {set setup_gdb 0 }
            }