From 96dff6a2f423ced8545f17f6f8f0fee770e4f77b Mon Sep 17 00:00:00 2001 From: Vladimir Prus 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 e7aadde..1e9b3ec 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 9372dfc..6a52c88 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.7.4