From: Vladimir Prus Date: Sun, 4 May 2008 12:15:54 +0000 (+0000) Subject: * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96dff6a2f423ced8545f17f6f8f0fee770e4f77b;p=binutils-gdb.git * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created notification to appear. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index e7aaddec3c2..1e9b3ec9fde 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-05-04 Vladimir Prus + + * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created + notification to appear. + 2008-05-04 Daniel Jacobowitz * gdb.base/fullname.c: New file. diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp index 9372dfc328e..6a52c88ae8a 100644 --- a/gdb/testsuite/lib/mi-support.exp +++ b/gdb/testsuite/lib/mi-support.exp @@ -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"