From: Yao Qi Date: Tue, 5 Jul 2016 13:46:21 +0000 (+0100) Subject: Fix fail in gdb.mi/mi-reverse.exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=647c264cb2c60c90ee2d09edb6bd001ff357306d;p=binutils-gdb.git Fix fail in gdb.mi/mi-reverse.exp Commit 38b022b4452f996fb5a8598f80d850b594621bcf adds "method" and "format" fields in =record-started, but doesn't update test case gdb.mi/mi-reverse.exp, so it causes the fail like this, PASS: gdb.mi/mi-reverse.exp: mi runto main Expecting: ^(-interpreter-exec console record[^M ]+)?(=record-started,thread-group="i1"^M \^done[^M ]+[(]gdb[)] ^M [ ]*) -interpreter-exec console record^M =record-started,thread-group="i1",method="full"^M ^done^M (gdb) ^M FAIL: gdb.mi/mi-reverse.exp: Turn on process record and regression was found by buildbot too https://sourceware.org/ml/gdb-testers/2016-q2/msg04492.html gdb/testsuite: 2016-07-05 Yao Qi * gdb.mi/mi-reverse.exp: Match =record-started output. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index bcbffaa044b..be0cf9d2227 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-07-05 Yao Qi + + * gdb.mi/mi-reverse.exp: Match =record-started output. + 2016-07-01 Pedro Alves * gdb.base/jit-reader.exp (info_registers_current_frame): New diff --git a/gdb/testsuite/gdb.mi/mi-reverse.exp b/gdb/testsuite/gdb.mi/mi-reverse.exp index d8f38442907..5afeececb68 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,thread-group=\"i1\"\r\n\\^done" \ + "=record-started,thread-group=\"i1\",method=\"full\"\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