[gdb/testsuite] Fix gdb.base/info-shared.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)
commite27e0e5d4147af715d479fda7583d74cf6a17266
tree9029fc990cef667c40773cd0a72593d85806d479
parenta1dfb76d919d45276963f2be35e8a235937d9d8f
[gdb/testsuite] Fix gdb.base/info-shared.exp for remote target

With test-case gdb.base/info-shared.exp and 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/info-shared.exp