Re: Regression for gdb.mi/mi-reverse.exp [Re: [committed]: [PATCH 2/2] MI notification on record started and stopped]

Yao Qi
2012-09-21T07:26:48Z

On 09/21/2012 02:58 PM, Jan Kratochvil wrote:
> PASS: gdb.mi/mi-reverse.exp: mi runto main
> Expecting: ^(-interpreter-exec console record[^M
> -]+)?(\^done[^M
> +]+)?(=record-started,id="1"^M
> +\^done[^M
> ]+[(]gdb[)] ^M
> [ ]*)
> -interpreter-exec console record^M
> +=record-started,thread-group="i1"^M

After changed the output in "=record-started" notification, I forgot to
update the expected output here, and it causes the regression.

Committed.

--
Yao

gdb/testsuite:

2012-09-21 Yao Qi <yao@codesourcery.com>

* gdb.mi/mi-reverse.exp: Fix the typo in expected output of
"=record-started" notification.
---
gdb/testsuite/gdb.mi/mi-reverse.exp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gdb/testsuite/gdb.mi/mi-reverse.exp b/gdb/testsuite/gdb.mi/mi-reverse.exp
index 974a095..06a0943 100644
--- a/gdb/testsuite/gdb.mi/mi-reverse.exp
+++ b/gdb/testsuite/gdb.mi/mi-reverse.exp
@@ -51,7 +51,7 @@ mi_run_to_main
if [supports_process_record] {
# Activate process record/replay
if [mi_gdb_test "-interpreter-exec console record" \
- "=record-started,id=\"1\"\r\n\\^done" \
+ "=record-started,thread-group=\"i1\"\r\n\\^done" \
"Turn on process record"] {
warning "Fail to activate process record/replay, tests in this group will not be performed.\n";
return -1
--
1.7.7.6