From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12473 invoked by alias); 18 Oct 2009 04:13:34 -0000 Received: (qmail 12465 invoked by uid 22791); 18 Oct 2009 04:13:33 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp-outbound-1.vmware.com (HELO smtp-outbound-1.vmware.com) (65.115.85.69) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 18 Oct 2009 04:13:29 +0000 Received: from mailhost2.vmware.com (mailhost2.vmware.com [10.16.67.167]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id E80D51306C; Sat, 17 Oct 2009 21:13:27 -0700 (PDT) Received: from [10.20.94.141] (msnyder-server.eng.vmware.com [10.20.94.141]) by mailhost2.vmware.com (Postfix) with ESMTP id C7C668E7CB; Sat, 17 Oct 2009 21:13:27 -0700 (PDT) Message-ID: <4ADA948A.1090204@vmware.com> Date: Sun, 18 Oct 2009 04:13:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20080411) MIME-Version: 1.0 To: Eli Zaretskii CC: "gdb-patches@sourceware.org" , "teawater@gmail.com" Subject: Re: [RFA, 4 of 3] save/restore process record, part 4 (docs and news) References: <4ADA1577.4000100@vmware.com> <83ljj9hj6n.fsf@gnu.org> <4ADA430C.9080502@vmware.com> <83iqedgxcw.fsf@gnu.org> In-Reply-To: <83iqedgxcw.fsf@gnu.org> Content-Type: multipart/mixed; boundary="------------080805090603050709040700" 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: 2009-10/txt/msg00410.txt.bz2 This is a multi-part message in MIME format. --------------080805090603050709040700 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 191 Eli Zaretskii wrote: > > Looks like you sent a wrong patch, since this is unchanged from the > original version. Hmmm? Oh, darn, I see what I did wrong. Third time's the charm... ;-) --------------080805090603050709040700 Content-Type: text/plain; name="docs.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="docs.txt" Content-length: 2169 2009-10-17 Hui Zhu Michael Snyder * NEWS: Mention record save/restore commands. * docs/gdb.texinfo (Process Record and Replay): Document record save/restore commands. Index: NEWS =================================================================== RCS file: /cvs/src/src/gdb/NEWS,v retrieving revision 1.334 diff -u -p -r1.334 NEWS --- NEWS 15 Oct 2009 19:28:52 -0000 1.334 +++ NEWS 18 Oct 2009 04:12:12 -0000 @@ -11,6 +11,13 @@ Xilinx MicroBlaze microblaze-*-* Xilinx MicroBlaze microblaze +* New commands + +record save (filename) + Save a 'process record' execution log to a file. +record restore (filename) + Restore an earlier 'process record' session. + *** Changes in GDB 7.0 * GDB now has an interface for JIT compilation. Applications that Index: doc/gdb.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.633 diff -u -p -r1.633 gdb.texinfo --- doc/gdb.texinfo 12 Oct 2009 01:59:54 -0000 1.633 +++ doc/gdb.texinfo 18 Oct 2009 04:12:12 -0000 @@ -5348,6 +5348,26 @@ When record target runs in replay mode ( subsequent execution log and begin to record a new execution log starting from the current address. This means you will abandon the previously recorded ``future'' and begin recording a new ``future''. + +@kindex record save +@kindex rec save +@item record save [@var{file}] +@itemx rec save [@var{file}] +Save the execution log of the inferior process into a specially formatted core file. +The optional argument @var{file} specifies the file name in which to +save the execution log. If not specified, the file name defaults +to @file{gdb_record.@var{pid}}, where @var{pid} is is the PID of the +inferior process. + +@kindex record restore +@kindex rec restore +@item record restore [@var{file}] +@itemx rec restore [@var{file}] +Restore the execution log of an earlier session from the file @var{file} +(required), which has been created using the command @code{record save}. +You can then replay this execution log as if you recorded it in this +@value{GDBN} session. + @end table --------------080805090603050709040700--