Index: gdb/testsuite/gdb.base/solib-disc.exp |
diff --git a/gdb/testsuite/gdb.base/solib-disc.exp b/gdb/testsuite/gdb.base/solib-disc.exp |
index e0d4875ee313afcef0c25aa35c172cec516b6fc5..d9fb4b3057f63b8af3fcf1bb4572871160c8b0f1 100644 |
--- a/gdb/testsuite/gdb.base/solib-disc.exp |
+++ b/gdb/testsuite/gdb.base/solib-disc.exp |
@@ -38,7 +38,7 @@ set lib_syms [shlib_symbol_file ${libname}] |
remote_exec build "rm -f ${binfile}" |
-if [get_compiler_info ${binfile}] { |
+if [get_compiler_info] { |
return -1 |
} |
@@ -62,7 +62,7 @@ if ![runto_main] then { |
gdb_test_no_output "set stop-on-solib-events 1" |
-gdb_test "continue" "Stopped due to shared library event" "continue to load" |
+gdb_test "continue" "Stopped due to shared library event.*" "continue to load" |
set msg "save \$pc after load" |
set saved_pc "" |
@@ -84,7 +84,7 @@ if { [gdb_reconnect] == 0 } { |
gdb_test "print/x \$pc" "\\\$$decimal = $saved_pc" "check \$pc after load" |
-gdb_test "continue" "Stopped due to shared library event" "continue to unload" |
+gdb_test "continue" "Stopped due to shared library event.*" "continue to unload" |
set msg "save \$pc after unload" |
set saved_pc "" |