return 0
}
+if {[is_remote target]} {
+ # gdbserver prints the warning message but expect is parsing only the GDB
+ # output, not the gdbserver output.
+ return 0
+}
+
set testfile "solib-corrupted"
set srcfile start.c
pass $test
}
}
-gdb_test "info sharedlibrary" "warning: Corrupted shared library list\r\n.*" "corrupted list"
+gdb_test "info sharedlibrary" "warning: Corrupted shared library list: .*" "corrupted list"