Add method/format information to =record-started

Message ID 86wpl0xkg4.fsf@gmail.com
State New, archived
Headers

Commit Message

Yao Qi July 5, 2016, 1:50 p.m. UTC
  Simon Marchi <simon.marchi@ericsson.com> writes:

> gdb/testsuite/ChangeLog:
>
> 	* gdb.mi/mi-record-changed.exp: Adjust =record-started output
> 	matching.

We need to update gdb.mi/mi-reverse.exp too.  Patch below does it.
Patch is pushed in.
  

Comments

Simon Marchi July 5, 2016, 1:51 p.m. UTC | #1
On 16-07-05 09:50 AM, Yao Qi wrote:
> Simon Marchi <simon.marchi@ericsson.com> writes:
> 
>> gdb/testsuite/ChangeLog:
>>
>> 	* gdb.mi/mi-record-changed.exp: Adjust =record-started output
>> 	matching.
> 
> We need to update gdb.mi/mi-reverse.exp too.  Patch below does it.
> Patch is pushed in.
> 

Thanks!
  

Patch

diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index bcbffaa..be0cf9d 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@ 
+2016-07-05  Yao Qi  <yao.qi@linaro.org>
+
+	* gdb.mi/mi-reverse.exp: Match =record-started output.
+
 2016-07-01  Pedro Alves  <palves@redhat.com>
 
 	* 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 d8f3844..5afeece 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