From 4995370574c1bae7436f0192e4f44bd98313ddf1 Mon Sep 17 00:00:00 2001 From: vprus Date: Sun, 4 May 2008 12:15:54 +0000 Subject: [PATCH] * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created notification to appear. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/lib/mi-support.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index e7aaddec3c..1e9b3ec9fd 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 9372dfc328..6a52c88ae8 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" -- 2.11.0