gdb/testsuite/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 28 Apr 2011 07:31:29 +0000 (07:31 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 28 Apr 2011 07:31:29 +0000 (07:31 +0000)
* lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
thread and breakpoint notifications.

gdb/testsuite/ChangeLog
gdb/testsuite/lib/mi-support.exp

index 47ccf633b4e8289f7c4a74cf2f09d151ea4aa74a..c565e408597566da30e23974c2fe42d57fbb4704 100644 (file)
@@ -1,3 +1,8 @@
+2011-04-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
+       thread and breakpoint notifications.
+
 2011-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * gdb.base/fortran-sym-case.c: New file.
index e3f6b03924aba530ee0e5e9075d8afa4656dd024..e225e9fae2316c7baa52ad2439a5b6f14f7fb03e 100644 (file)
@@ -1046,7 +1046,7 @@ proc mi_expect_stop { reason func args file line extra test } {
            pass "$test"
             return $expect_out(2,string)
        }
-       -re "\\*stopped,${r}${a}${bn}frame=\{addr=\"$hex\",func=\"$any\",args=\[\\\[\{\]$any\[\\\]\}\],file=\"$any\",fullname=\"${fullname_syntax}$any\",line=\"\[0-9\]*\"\}$after_stopped,thread-id=\"$decimal\",stopped-threads=$any\r\n$prompt_re" {
+       -re "\\*stopped,${r}${a}${bn}frame=\{addr=\"$hex\",func=\"$any\",args=\[\\\[\{\]$any\[\\\]\}\],file=\"$any\",fullname=\"${fullname_syntax}$any\",line=\"\[0-9\]*\"\}$after_stopped,thread-id=\"$decimal\",stopped-threads=$any\r\n($thread_selected_re|$breakpoint_re)*$prompt_re" {
             verbose -log "got $expect_out(buffer)"
            fail "$test (stopped at wrong place)"
            return -1