From 24e933dfc831178659f9619abc62875d762f8025 Mon Sep 17 00:00:00 2001 From: Hui Zhu Date: Fri, 18 Jun 2010 08:16:15 +0000 Subject: [PATCH] 2010-06-18 Hui Zhu * gdb.texinfo: (Process Record and Replay): Add documentation for commands "record save" and "record restore". --- gdb/doc/ChangeLog | 5 +++++ gdb/doc/gdb.texinfo | 11 +++++++++++ 2 files changed, 16 insertions(+) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 132727b1850..60ae8888054 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2010-06-18 Hui Zhu + + * gdb.texinfo: (Process Record and Replay): Add documentation + for commands "record save" and "record restore". + 2010-06-16 Jan Kratochvil * gdb.texinfo: Include information about the correct use diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 1daa211d4eb..03752b6788b 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -5639,6 +5639,17 @@ usual ``live'' debugging of the process from that state. When the inferior process exits, or @value{GDBN} detaches from it, process record and replay target will automatically stop itself. +@kindex record save +@item record save @var{filename} +Save the execution log to a file @file{@var{filename}}. +Default filename is @file{gdb_record.@var{process_id}}, where +@var{process_id} is the process ID of the inferior. + +@kindex record restore +@item record restore @var{filename} +Restore the execution log from a file @file{@var{filename}}. +File must have been created with @code{record save}. + @kindex set record insn-number-max @item set record insn-number-max @var{limit} Set the limit of instructions to be recorded. Default value is 200000. -- 2.30.2