]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/lib/mi-support.exp
* gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
[thirdparty/binutils-gdb.git] / gdb / testsuite / lib / mi-support.exp
index 373b3663b679c090a08de31ee6ad928131da8a1f..360eceb9b8b1e2df82ed1cf562993d8b2909911d 100644 (file)
@@ -1565,14 +1565,18 @@ proc mi_send_resuming_command_raw {command test} {
             # as real failure.
            return 0
         }
-        -re ".*${mi_gdb_prompt}" {
-            fail "$test (failed to resume)"
-           return -1
+        -re "\\^error,msg=\"Displaced stepping is only supported in ARM mode\".*" {
+            unsupported "$test (Thumb mode)"
+            return -1
         }
         -re "\\^error,msg=.*" {
             fail "$test (MI error)"
             return -1
         }
+        -re ".*${mi_gdb_prompt}" {
+            fail "$test (failed to resume)"
+           return -1
+        }
         timeout {
            fail "$test"
            return -1