gdb/
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / solib-corrupted.exp
index 9d30249d2b7b3499d2a6eac0e81abdf3ee13c2f9..ddc0c3f6d0be717e448d7e649ea5ff39cd8f0f74 100644 (file)
@@ -17,6 +17,12 @@ if {[skip_shlib_tests]} {
     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
 
@@ -47,4 +53,4 @@ gdb_test_multiple "p/x _r_debug->r_map->l_next = _r_debug->r_map" $test {
        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"
This page took 0.023626 seconds and 4 git commands to generate.