* 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 e7aaddec3c23580c4bf7bb462287d172dac45bc9..1e9b3ec9fde6d8712290c10cab15732dd8ee1f1c 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 9372dfc328e0b2948da9b9e924aa4b562dec01fe..6a52c88ae8a8c9bb08274b986e6f9efcab9cf35d 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"