From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31804 invoked by alias); 23 Aug 2009 03:33:55 -0000 Received: (qmail 31794 invoked by uid 22791); 23 Aug 2009 03:33:55 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_37,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-pz0-f198.google.com (HELO mail-pz0-f198.google.com) (209.85.222.198) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 23 Aug 2009 03:33:49 +0000 Received: by pzk36 with SMTP id 36so468061pzk.12 for ; Sat, 22 Aug 2009 20:33:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.60.4 with SMTP id i4mr267435wfa.273.1250998428088; Sat, 22 Aug 2009 20:33:48 -0700 (PDT) In-Reply-To: <837hwzir3w.fsf@gnu.org> References: <837hwzir3w.fsf@gnu.org> From: Hui Zhu Date: Sun, 23 Aug 2009 03:52:00 -0000 Message-ID: Subject: Re: [RFA/RFC Prec] Add process record skip 6/6 (doc) To: Eli Zaretskii Cc: gdb-patches@sourceware.org, msnyder@vmware.com, green@moxielogic.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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-08/txt/msg00360.txt.bz2 On Thu, Aug 20, 2009 at 02:41, Eli Zaretskii wrote: >> From: Hui Zhu >> Date: Wed, 19 Aug 2009 16:12:13 +0800 >> >> 2008-08-19 =A0Hui Zhu =A0 >> >> =A0 =A0 =A0 * gdb.texinfo (Process Record and Replay): Document >> =A0 =A0 =A0 'record skip', 'record skip enable' and 'record skip disable= '. > > Thanks. > >> +@kindex record skip >> +@kindex rec skip >> +@item record skip >> +Show the status of record skip. >> + >> +@kindex record skip disable >> +@kindex rec skip disable >> +@item record skip disable @r{[}id@r{]} >> +Disable the specified record skip entry (or all record skip entries). > > What is a ``record skip entry''? =A0Without explaining that, this text > is not helpful. > Hi Eli, I make a new patch that have some introduction about record skip entry. What do you think about it? Thanks, Hui --- doc/gdb.texinfo | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) --- a/doc/gdb.texinfo +++ b/doc/gdb.texinfo @@ -5190,6 +5190,27 @@ 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 skip +@kindex rec skip +@item record skip +The record skip entry is a special breakpoint. When the process +record and replay target start, it will be inserted to the +begin of a function. When this breakpoint break the inferior and +@value{GDBN} is in record mode, @value{GDBN} will skip record all +the execution log of this function's instructions and record the +change of memory and registers of this function as one instruction. +Show the status of record skip. + +@kindex record skip disable +@kindex rec skip disable +@item record skip disable @r{[}id@r{]} +Disable the specified record skip entry (or all record skip entries). + +@kindex record skip enable +@kindex rec skip enable +@item record skip enable @r{[}id@r{]} +Enable the specified record skip entry (or all record skip entries). @end table