From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29263 invoked by alias); 12 Nov 2011 03:09:31 -0000 Received: (qmail 29252 invoked by uid 22791); 12 Nov 2011 03:09:29 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 12 Nov 2011 03:09:03 +0000 Received: from nat-jpt.mentorg.com ([192.94.33.2] helo=PR1-MAIL.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1RP3xn-0002fG-0Q from Yao_Qi@mentor.com ; Fri, 11 Nov 2011 19:09:03 -0800 Received: from [127.0.0.1] ([172.16.63.104]) by PR1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Sat, 12 Nov 2011 12:09:01 +0900 Message-ID: <4EBDE34B.3040802@codesourcery.com> Date: Sat, 12 Nov 2011 03:09:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1 MIME-Version: 1.0 To: Pedro Alves CC: gdb-patches@sourceware.org, Eli Zaretskii Subject: Re: [patch 7/8] Documentation changes References: <4EB8C551.9090609@codesourcery.com> <4EB8CF86.9080303@codesourcery.com> <201111101702.32733.pedro@codesourcery.com> In-Reply-To: <201111101702.32733.pedro@codesourcery.com> Content-Type: multipart/mixed; boundary="------------050505000502000805000400" 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: 2011-11/txt/msg00339.txt.bz2 This is a multi-part message in MIME format. --------------050505000502000805000400 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-length: 405 On 11/11/2011 01:02 AM, Pedro Alves wrote: > The new "set remote install-in-trace-packet" command should get > an entry in the table below: > > For each packet @var{name}, the command to enable or disable the > packet is @code{set remote @var{name}-packet}. The available settings > are:" > > In the "Remote Configuration" node. > Added one row in table for install-in-trace. -- Yao (齐尧) --------------050505000502000805000400 Content-Type: text/x-patch; name="0007-doc-InstallInTrace.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0007-doc-InstallInTrace.patch" Content-length: 2039 * gdb.texinfo (Create and Delete Tracepoints): Describe changed behavior of tracepoint. (General Query Packets): New feature InstallInTrace. (Remote Configuration): Document "set remote install-in-trace-packet". --- gdb/doc/gdb.texinfo | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 520360f..e45f75f 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -10330,7 +10330,11 @@ an address in the target program. @xref{Specify Location}. The @code{trace} command defines a tracepoint, which is a point in the target program where the debugger will briefly stop, collect some data, and then allow the program to continue. Setting a tracepoint or -changing its actions doesn't take effect until the next @code{tstart} +changing its actions takes effect immediately if the remote stub +supports the @samp{InstallInTrace} feature (@pxref{install tracepoint +in tracing}). +If remote stub doesn't support the @samp{InstallInTrace} feature, all +these changes don't take effect until the next @code{tstart} command, and once a trace experiment is running, further changes will not have any effect until the next trace experiment starts. @@ -17316,6 +17320,10 @@ are: @tab @code{qXfer:traceframe-info:read} @tab Traceframe info +@item @code{install-in-trace} +@tab @code{InstallInTrace} +@tab Install tracepoint in tracing + @item @code{disable-randomization} @tab @code{QDisableRandomization} @tab @code{set disable-randomization} @@ -34845,6 +34853,10 @@ The remote stub understands the @samp{QDisableRandomization} packet. @cindex static tracepoints, in remote protocol The remote stub supports static tracepoints. +@item InstallInTrace +@anchor{install tracepoint in tracing} +The remote stub supports installing tracepoint in tracing. + @item EnableDisableTracepoints The remote stub supports the @samp{QTEnable} (@pxref{QTEnable}) and @samp{QTDisable} (@pxref{QTDisable}) packets that allow tracepoints -- 1.7.0.4 --------------050505000502000805000400--