gdb/testsuite/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 1 Jan 2010 07:57:56 +0000 (07:57 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 1 Jan 2010 07:57:56 +0000 (07:57 +0000)
* lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
missing $after_stopped and comma (,) expectation.

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

index 10dc1d55eb0585c562997dbeb840f19f733e7629..8ec7e3eccc43a05b6bd1c25f841aaa6684b2143a 100644 (file)
@@ -1,3 +1,8 @@
+2010-01-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
+       missing $after_stopped and comma (,) expectation.
+
 2009-12-31  Stan Shebs  <stan@codesourcery.com>
 
        * gdb.trace/actions.exp: Test teval action.
index 5a24960805642ec94dbcdea7c2ca3f8fece59790..877a10ffa0354291cb8c6e2ef02a296b88d6bca9 100644 (file)
@@ -1038,7 +1038,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\]*\"\}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$prompt_re" {
             verbose -log "got $expect_out(buffer)"
            fail "$test (stopped at wrong place)"
            return -1