Don't use ensure_gdb_index with require
authorTom Tromey <tom@tromey.com>
Thu, 15 Dec 2022 00:04:35 +0000 (17:04 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 13 Jan 2023 20:18:54 +0000 (13:18 -0700)
commit15bdcf4ca1514b89c242eccd3a74599bdd00e3e0
tree42a397b20d291ad8a6f122cd9e9eef4d227ec140
parentc2a5d74050ea9d7897b4122ef57c627d395683b3
Don't use ensure_gdb_index with require

This series changes 'require' to take a list of simple predicates.
This patch backs out the one use of 'require' that doesn't conform to
this -- calling ensure_gdb_index.
gdb/testsuite/gdb.base/with-mf.exp
gdb/testsuite/gdb.dwarf2/gdb-add-index-symlink.exp
gdb/testsuite/gdb.dwarf2/gdb-add-index.exp
gdb/testsuite/gdb.dwarf2/gdb-index-types-dwarf5.exp
gdb/testsuite/gdb.dwarf2/imported-unit-runto-main.exp
gdb/testsuite/gdb.rust/dwindex.exp