Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Hui Zhu <teawater@gmail.com>
To: gdb-patches ml <gdb-patches@sourceware.org>
Subject: [PATCH/DOC] Prec: add doc for record save and record record restore
Date: Fri, 18 Jun 2010 03:21:00 -0000	[thread overview]
Message-ID: <AANLkTiloyzqiFtAMZpxd-3yShGHuRxZeV607SDrG5yY8@mail.gmail.com> (raw)

Hi,

I found that there is not doc for record save and record record
restore.  Add this patch for this 2 commands.

Thanks,
Hui

2010-06-18  Hui Zhu  <teawater@gmail.com>

	* gdb.texinfo: (Process Record and Replay): Add documentation
	for commands "record save" and "record restore".


---
 doc/gdb.texinfo |   10 ++++++++++
 1 file changed, 10 insertions(+)

--- a/doc/gdb.texinfo
+++ b/doc/gdb.texinfo
@@ -5639,6 +5639,16 @@ usual ``live'' debugging of the process
 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 'gdb_record.<process_id>'.
+
+@kindex record restore
+@item record restore @var{filename}
+Restore the execution log from a file @file{@var{filename}}.
+File must be 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.


             reply	other threads:[~2010-06-18  3:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-18  3:21 Hui Zhu [this message]
2010-06-18  7:32 ` Eli Zaretskii
2010-06-18  7:49   ` Hui Zhu
2010-06-18  8:06     ` Eli Zaretskii
2010-06-18  8:17       ` Hui Zhu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTiloyzqiFtAMZpxd-3yShGHuRxZeV607SDrG5yY8@mail.gmail.com \
    --to=teawater@gmail.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox