Fix PR breakpoints/16101: gdb.base/dprintf.exp agent-printf failures with non-Z0...
[deliverable/binutils-gdb.git] / gdb / testsuite / lib / mi-support.exp
index 213073acba9ad4e9559d975f8c972026483d65b7..7c234c010b29b29a824b93e6a2d086281f7a0bb4 100644 (file)
@@ -843,6 +843,7 @@ proc mi_run_cmd_full {use_mi_command args} {
            send_gdb "${run_prefix}continue\n"
            gdb_expect 60 {
                -re "${run_match}\\^running\[\r\n\]+\\*running,thread-id=\"\[^\"\]+\"\r\n$mi_gdb_prompt" {}
+               -re "${run_match}\\^error.*$mi_gdb_prompt" {return -1}
                default {}
            }
            return 0
This page took 0.024307 seconds and 4 git commands to generate.