[binutils-gdb] [gdb/testsuite] Unsupport gdb.dwarf2/gdb-add-index-symlink.exp for remote host

Tom de Vries vries@sourceware.org
Mon Mar 27 11:58:57 GMT 2023


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b2793801454182768d753d57225c296e1c4dbf5b

commit b2793801454182768d753d57225c296e1c4dbf5b
Author: Tom de Vries <tdevries@suse.de>
Date:   Mon Mar 27 13:58:10 2023 +0200

    [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.

Diff:
---
 gdb/testsuite/gdb.dwarf2/gdb-add-index-symlink.exp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gdb/testsuite/gdb.dwarf2/gdb-add-index-symlink.exp b/gdb/testsuite/gdb.dwarf2/gdb-add-index-symlink.exp
index b9d99c314dc..d6f96ab9f5b 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.


More information about the Gdb-cvs mailing list