* lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
authorVladimir Prus <vladimir@codesourcery.com>
Sun, 4 May 2008 12:15:54 +0000 (12:15 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Sun, 4 May 2008 12:15:54 +0000 (12:15 +0000)
notification to appear.

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

index e7aadde..1e9b3ec 100644 (file)
@@ -1,3 +1,8 @@
+2008-05-04  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
+       notification to appear.
+
 2008-05-04  Daniel Jacobowitz  <dan@debian.org>
 
        * gdb.base/fullname.c: New file.
index 9372dfc..6a52c88 100644 (file)
@@ -821,7 +821,7 @@ proc mi_run_cmd {args} {
 
     send_gdb "220-exec-run $args\n"
     gdb_expect {
-       -re "220\\^running\r\n${mi_gdb_prompt}" {
+       -re "220\\^running\r\n(=thread-created,id=\"1\"\r\n)?${mi_gdb_prompt}" {
        }
        timeout {
            perror "Unable to start target"