* gdb.base/attach.exp (do_attach_tests): Matching pattern for
[binutils-gdb.git] / gdb / testsuite / gdb.mi / mi-pending.exp
index 01fd934e01b348bc2fdb13cd5413a98eb0eac0b3..f2e6b95fa5f5efc97b0e19fdd65a59e5ed0c997a 100644 (file)
@@ -68,5 +68,6 @@ mi_gdb_test "-break-insert -f pendfunc1" \
     "MI pending breakpoint on pendfunc1"
 
 mi_run_cmd
-mi_expect_stop "breakpoint-hit" "pendfunc1" ".*" ".*" ".*" "" \
-    "Run till MI pending breakpoint on pendfunc1"
\ No newline at end of file
+mi_expect_stop "breakpoint-hit" "pendfunc1" ".*" ".*" ".*" \
+    { "" "disp=\"keep\"" } \
+    "Run till MI pending breakpoint on pendfunc1"