Index: gdb/testsuite/gdb.base/solib-nodir.exp |
diff --git a/gdb/testsuite/gdb.base/solib-nodir.exp b/gdb/testsuite/gdb.base/solib-nodir.exp |
index f79ceead60c4c41cb78aeff68438b46c1d4d3f52..7f456a6033fa1319cd01fc8031084a78bfad8ea9 100644 |
--- a/gdb/testsuite/gdb.base/solib-nodir.exp |
+++ b/gdb/testsuite/gdb.base/solib-nodir.exp |
@@ -31,7 +31,7 @@ set objfile ${objdir}/${subdir}/${executable}.o |
set binfile ${objdir}/${subdir}/${executable} |
# build the first test case |
-if { [get_compiler_info unused] |
+if { [get_compiler_info] |
|| [gdb_compile_shlib "${srcdir}/${subdir}/${srclibfile}" "${binlibfile}" [list debug ldflags=-Wl,-soname,${binlibfilebase}]] != "" |
|| [gdb_gnu_strip_debug $binlibfile] |
|| [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${objfile}" object {debug}] != "" |