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

Jan Kratochvil
2012-09-21T06:58:40Z

On Fri, 21 Sep 2012 03:46:44 +0200, Yao Qi wrote:
> OK. This is what I committed.

It happens on all my tested platforms like Fedora 16/17 (but not 18), not sure
if there is a race:

052e8b6ee41e74bcb1c19b171f3c96ca74c20224 is the first bad commit
commit 052e8b6ee41e74bcb1c19b171f3c96ca74c20224
Author: qiyao <qiyao>
Date: Fri Sep 21 01:46:39 2012 +0000

Running gdb/testsuite/gdb.mi/mi-reverse.exp ...
PASS: gdb.mi/mi-reverse.exp: breakpoint at main
PASS: gdb.mi/mi-reverse.exp: mi runto main
-PASS: gdb.mi/mi-reverse.exp: Turn on process record
-PASS: gdb.mi/mi-reverse.exp: breakpoint at callme
-PASS: gdb.mi/mi-reverse.exp: mi runto callme
-PASS: gdb.mi/mi-reverse.exp: reverse finish from callme
-PASS: gdb.mi/mi-reverse.exp: reverse next to get over the call to do_nothing
-PASS: gdb.mi/mi-reverse.exp: reverse step to callee1
-PASS: gdb.mi/mi-reverse.exp: reverse step to callee2
-PASS: gdb.mi/mi-reverse.exp: reverse step to callee3
-PASS: gdb.mi/mi-reverse.exp: reverse step to callee4
-PASS: gdb.mi/mi-reverse.exp: reverse-step-instruction at callee4
-PASS: gdb.mi/mi-reverse.exp: reverse-next-instruction at callee4
-PASS: gdb.mi/mi-reverse.exp: insert temp breakpoint at basics.c:32
-PASS: gdb.mi/mi-reverse.exp: reverse-continue at callee3
-PASS: gdb.mi/mi-reverse.exp: reverse-continue at main
+FAIL: gdb.mi/mi-reverse.exp: Turn on process record
+WARNING: Fail to activate process record/replay, tests in this group will not be performed.

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
^done^M
(gdb) ^M
-PASS: gdb.mi/mi-reverse.exp: Turn on process record
-Expecting: ^(200-break-insert -t callme[^M
[...]
+FAIL: gdb.mi/mi-reverse.exp: Turn on process record
+WARNING: Fail to activate process record/replay, tests in this group will not be performed.

Regards,
Jan