From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19546 invoked by alias); 5 Mar 2013 20:13:49 -0000 Received: (qmail 19479 invoked by uid 22791); 5 Mar 2013 20:13:45 -0000 X-SWARE-Spam-Status: No, hits=-6.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 05 Mar 2013 20:13:37 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r25KDYZ0012466 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 5 Mar 2013 15:13:34 -0500 Received: from host2.jankratochvil.net (ovpn-116-50.ams2.redhat.com [10.36.116.50]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r25KDUYg006008 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 5 Mar 2013 15:13:32 -0500 Date: Tue, 05 Mar 2013 20:13:00 -0000 From: Jan Kratochvil To: Markus Metzger Cc: gdb-patches@sourceware.org, markus.t.metzger@gmail.com, Eli Zaretskii Subject: Re: [patch v9 21/23] doc, record: document record changes Message-ID: <20130305201329.GU2386@host2.jankratochvil.net> References: <1362416770-19750-1-git-send-email-markus.t.metzger@intel.com> <1362416770-19750-22-git-send-email-markus.t.metzger@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1362416770-19750-22-git-send-email-markus.t.metzger@intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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: 2013-03/txt/msg00185.txt.bz2 On Mon, 04 Mar 2013 18:06:08 +0100, Markus Metzger wrote: > Document changes to the record target resulting from the renaming into > record-full. > > Document two new record sub-commands "record instruction-history" and > "record function-call-history" and two associated set/show commands > "set record instruction-history-size" and "set record > function-call-history-size". > > Add this to NEWS. > > CC: Eli Zaretskii > > 2013-03-04 Markus Metzger > > * NEWS: Add record changes. > > doc/ > * gdb.texinfo (Process Record and Replay): Document record > changes. [...] > --- a/gdb/NEWS > +++ b/gdb/NEWS > @@ -3,6 +3,32 @@ > > *** Changes since GDB 7.5 > > +* Target record has been renamed to record-full. > + Record/replay is now enabled with the "record full" command. > + This also affects settings that are associated with full record/replay > + that have been moved from "set/show record" to "set/show record full": > + > +record insn-number-max > +record stop-at-limit > +record memory-query Eli has not commented the NEWS file it but I would prefer to provide (a) the full/valid commmands, (b) the new, rather than old names, so that one can easily copy-paste them to GDB CLI to try them. set|show record full insn-number-max set|show record full stop-at-limit set|show record full memory-query > + > +* Two new commands have been added for record/replay to give information > + about the recorded execution without having to replay the execution. > + > +"record instruction-history" disassembles instructions stored in the > +execution log. > + > +"record function-call-history" prints the names of the functions > +from instructions stored in the execution log. > + > +* A new record target "record-btrace" has been added. The new target > + uses hardware support to record the control-flow of a process. It > + does not support replaying the execution, but it implements the > + above commands for investigating the recorded execution log. > + > + The "record-btrace" target is only available on Intel Atom processors > + and requires a Linux kernel 2.6.32 or later. > + > * New native configurations > > ARM AArch64 GNU/Linux aarch64*-*-linux-gnu Otherwise reviewed by Eli. Thanks, Jan