Fix test-case gdb.base/skip-solib.exp for target board
remote-gdbserver-on-localhost using gdb_load_shlib.
Tested on x86_64-linux.
with_test_prefix "ignoring solib file" {
clean_restart ${executable_main}
+ gdb_load_shlib $binfile_lib
gdb_test "skip file ${srcfile_lib}" \
"File ${srcfile_lib} will be skipped when stepping." \
#
with_test_prefix "ignoring solib function" {
clean_restart ${executable_main}
+ gdb_load_shlib $binfile_lib
gdb_test "skip function multiply" \
"Function multiply will be skipped when stepping\\." \