From 8997583e216ec5cea66bdd00b0c3c03d88679668 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Fri, 1 Jan 2010 07:57:56 +0000 Subject: [PATCH] gdb/testsuite/ * lib/mi-support.exp (mi_expect_stop ): Insert missing $after_stopped and comma (,) expectation. --- 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 10dc1d55eb0..8ec7e3eccc4 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-01-01 Jan Kratochvil + + * lib/mi-support.exp (mi_expect_stop ): Insert + missing $after_stopped and comma (,) expectation. + 2009-12-31 Stan Shebs * gdb.trace/actions.exp: Test teval action. diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp index 5a249608056..877a10ffa03 100644 --- a/gdb/testsuite/lib/mi-support.exp +++ b/gdb/testsuite/lib/mi-support.exp @@ -1038,7 +1038,7 @@ proc mi_expect_stop { reason func args file line extra test } { pass "$test" return $expect_out(2,string) } - -re "\\*stopped,${r}${a}${bn}frame=\{addr=\"$hex\",func=\"$any\",args=\[\\\[\{\]$any\[\\\]\}\],file=\"$any\",fullname=\"${fullname_syntax}$any\",line=\"\[0-9\]*\"\}thread-id=\"$decimal\",stopped-threads=$any\r\n$prompt_re" { + -re "\\*stopped,${r}${a}${bn}frame=\{addr=\"$hex\",func=\"$any\",args=\[\\\[\{\]$any\[\\\]\}\],file=\"$any\",fullname=\"${fullname_syntax}$any\",line=\"\[0-9\]*\"\}$after_stopped,thread-id=\"$decimal\",stopped-threads=$any\r\n$prompt_re" { verbose -log "got $expect_out(buffer)" fail "$test (stopped at wrong place)" return -1 -- 2.30.2