From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5619 invoked by alias); 18 Jun 2010 03:21:30 -0000 Received: (qmail 5610 invoked by uid 22791); 18 Jun 2010 03:21:30 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-pv0-f169.google.com (HELO mail-pv0-f169.google.com) (74.125.83.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 18 Jun 2010 03:21:24 +0000 Received: by pvc7 with SMTP id 7so648325pvc.0 for ; Thu, 17 Jun 2010 20:21:21 -0700 (PDT) Received: by 10.143.21.34 with SMTP id y34mr309887wfi.85.1276831281155; Thu, 17 Jun 2010 20:21:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.143.33.14 with HTTP; Thu, 17 Jun 2010 20:21:01 -0700 (PDT) From: Hui Zhu Date: Fri, 18 Jun 2010 03:21:00 -0000 Message-ID: Subject: [PATCH/DOC] Prec: add doc for record save and record record restore To: gdb-patches ml Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-06/txt/msg00392.txt.bz2 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 * 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.'. + +@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.