From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4476 invoked by alias); 8 Nov 2011 06:43:48 -0000 Received: (qmail 4467 invoked by uid 22791); 8 Nov 2011 06:43:47 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,FROM_12LTRDOM 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; Tue, 08 Nov 2011 06:43:33 +0000 Received: from nat-jpt.mentorg.com ([192.94.33.2] helo=PR1-MAIL.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1RNfPA-0001Rg-Cm from Yao_Qi@mentor.com for gdb-patches@sourceware.org; Mon, 07 Nov 2011 22:43:32 -0800 Received: from [127.0.0.1] ([172.16.63.104]) by PR1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 8 Nov 2011 15:43:30 +0900 Message-ID: <4EB8CF86.9080303@codesourcery.com> Date: Tue, 08 Nov 2011 06:43: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: gdb-patches@sourceware.org Subject: [patch 7/8] Documentation changes References: <4EB8C551.9090609@codesourcery.com> In-Reply-To: <4EB8C551.9090609@codesourcery.com> Content-Type: multipart/mixed; boundary="------------060200020006090500020507" 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/msg00176.txt.bz2 This is a multi-part message in MIME format. --------------060200020006090500020507 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-length: 135 This patch is about documentation changes to reflect 1) the changes on tracepoint behavior, 2) a new remote feature. -- Yao (齐尧) --------------060200020006090500020507 Content-Type: text/x-patch; name="0007-doc-InstallInTrace.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0007-doc-InstallInTrace.patch" Content-length: 1700 gdb/doc/ * gdb.texinfo (Create and Delete Tracepoints): Describe changed behavior of tracepoint. (General Query Packets): New feature InstallInTrace. --- gdb/doc/gdb.texinfo | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 520360f..2ed00bf 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, which depends on the +remote stub's support of @samp{InstallInTrace} feature (see +@ref{install tracepoint in tracing})for remote targets. +If remote stub doesn't support @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. @@ -34845,6 +34849,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 --------------060200020006090500020507--