[gdb/testsuite] Fix gdb.base/solib-vanish.exp for remote target
authorTom de Vries <tdevries@suse.de>
Tue, 15 Nov 2022 14:24:54 +0000 (15:24 +0100)
committerTom de Vries <tdevries@suse.de>
Tue, 15 Nov 2022 14:24:54 +0000 (15:24 +0100)
commita1dfb76d919d45276963f2be35e8a235937d9d8f
treeb34aa055fa130e798268dccd3871de5fd876076e
parent3b35fb7cd0e2eeba611baf503d078fa395ebe1a8
[gdb/testsuite] Fix gdb.base/solib-vanish.exp for remote target

When running test-case gdb.base/solib-vanish.exp with target board
remote-gdbserver-on-localhost (using REMOTE_TARGET_USERNAME) we run into some
failures.

Fix these by adding the missing gdb_load_shlib.

Tested on x86_64-linux.

Co-Authored-by: Ivan Tetyushkin <ivan.tetyushkin@syntacore.com>
gdb/testsuite/gdb.base/solib-vanish.exp