forked from Imagelibrary/binutils-gdb
[gdb/testsuite] Fix gdb.base/skip-solib.exp for remote target
Fix test-case gdb.base/skip-solib.exp for target board remote-gdbserver-on-localhost using gdb_load_shlib. Tested on x86_64-linux.
This commit is contained in:
@@ -61,6 +61,7 @@ if {[gdb_compile "${binfile_main}.o" "${binfile_main}" executable \
|
|||||||
with_test_prefix "ignoring solib file" {
|
with_test_prefix "ignoring solib file" {
|
||||||
|
|
||||||
clean_restart ${executable_main}
|
clean_restart ${executable_main}
|
||||||
|
gdb_load_shlib $binfile_lib
|
||||||
|
|
||||||
gdb_test "skip file ${srcfile_lib}" \
|
gdb_test "skip file ${srcfile_lib}" \
|
||||||
"File ${srcfile_lib} will be skipped when stepping." \
|
"File ${srcfile_lib} will be skipped when stepping." \
|
||||||
@@ -87,6 +88,7 @@ with_test_prefix "ignoring solib file" {
|
|||||||
#
|
#
|
||||||
with_test_prefix "ignoring solib function" {
|
with_test_prefix "ignoring solib function" {
|
||||||
clean_restart ${executable_main}
|
clean_restart ${executable_main}
|
||||||
|
gdb_load_shlib $binfile_lib
|
||||||
|
|
||||||
gdb_test "skip function multiply" \
|
gdb_test "skip function multiply" \
|
||||||
"Function multiply will be skipped when stepping\\." \
|
"Function multiply will be skipped when stepping\\." \
|
||||||
|
|||||||
Reference in New Issue
Block a user