aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2023-03-27 13:58:10 +0200
committerTom de Vries <tdevries@suse.de>2023-03-27 13:58:10 +0200
commitb2793801454182768d753d57225c296e1c4dbf5b (patch)
tree241e9439080b08c7ab2da0d82c8a652e65df6fda
parent623f8c6b88161ea272137a5d6f5df8aada2e1656 (diff)
downloadgdb-b2793801454182768d753d57225c296e1c4dbf5b.zip
gdb-b2793801454182768d753d57225c296e1c4dbf5b.tar.gz
gdb-b2793801454182768d753d57225c296e1c4dbf5b.tar.bz2
[gdb/testsuite] Unsupport gdb.dwarf2/gdb-add-index-symlink.exp for remote host
Declare test-case gdb.dwarf2/gdb-add-index-symlink.exp unsupported for remote host, because the current implementation of gdb_ensure_index doesn't support it. Tested on x86_64-linux.
-rw-r--r--gdb/testsuite/gdb.dwarf2/gdb-add-index-symlink.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/gdb-add-index-symlink.exp b/gdb/testsuite/gdb.dwarf2/gdb-add-index-symlink.exp
index b9d99c3..d6f96ab 100644
--- a/gdb/testsuite/gdb.dwarf2/gdb-add-index-symlink.exp
+++ b/gdb/testsuite/gdb.dwarf2/gdb-add-index-symlink.exp
@@ -18,6 +18,9 @@ load_lib dwarf.exp
# This test can only be run on targets which support DWARF-2.
require dwarf2_support
+# The current implementation of ensure_gdb_index doesn't work on remote host.
+require {!is_remote host}
+
standard_testfile main.c
# First check whether we can actually handle the non-symlink case.