From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12645 invoked by alias); 17 Nov 2011 03:25:14 -0000 Received: (qmail 12623 invoked by uid 22791); 17 Nov 2011 03:25:13 -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; Thu, 17 Nov 2011 03:24:57 +0000 Received: from nat-jpt.mentorg.com ([192.94.33.2] helo=PR1-MAIL.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1RQsav-0007MQ-4J from Yao_Qi@mentor.com ; Wed, 16 Nov 2011 19:24:57 -0800 Received: from [127.0.0.1] ([172.16.63.104]) by PR1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 17 Nov 2011 12:24:55 +0900 Message-ID: <4EC47E7F.2090202@codesourcery.com> Date: Thu, 17 Nov 2011 03:25: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 , Luis Machado Subject: Re: [patch 5/5] Document References: <4EC20E2E.6010402@codesourcery.com> <83d3cte2rr.fsf@gnu.org> <4EC32A42.7090500@codesourcery.com> <201111161903.18043.pedro@codesourcery.com> In-Reply-To: <201111161903.18043.pedro@codesourcery.com> Content-Type: multipart/mixed; boundary="------------010202010007030905010903" 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/msg00459.txt.bz2 This is a multi-part message in MIME format. --------------010202010007030905010903 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-length: 923 On 11/17/2011 03:03 AM, Pedro Alves wrote: > On Wednesday 16 November 2011 03:13:06, Yao Qi wrote: >> +Pending tracepoints are not downloaded to target and not installed until > > to the target > >> +they are resolved. The resolution of pending tracepoints requires >> +@value{GDBN} support. > > This sentence confused me a little. Everything in GDB requires GDB > support. :-) I suggest joining it with the following sentence, like > say: > > The resolution of pending tracepoints requires > @value{GDBN} support---in the remote target, when @value{GDBN} > disconnects from the remote stub, pending tracepoints still exist > but can not be resolved while @value{GDBN} is disconnected. > >> +disconnects from remote stub, pending tracepoints still exists but can > from the remote stub still exist > These definite article are needed. Here is a new one. -- Yao (齐尧) --------------010202010007030905010903 Content-Type: text/x-patch; name="0005-doc-pending-tracepoint.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0005-doc-pending-tracepoint.patch" Content-length: 1242 * gdb.texinfo (Create and Delete Tracepoints): Mention pending tracepoint. --- gdb/doc/gdb.texinfo | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 0cadc96..7cbf037 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -10337,7 +10337,14 @@ 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. +not have any effect until the next trace experiment starts. In addition, +@value{GDBN} supports @dfn{pending tracepoints}---tracepoints whose +address is not yet resolved. (This is similar to pending breakpoints.) +Pending tracepoints are not downloaded to the target and not installed +until they are resolved. The resolution of pending tracepoints requires +@value{GDBN} support--in the remote target, when @value{GDBN} +disconnects from the remote stub, pending tracepoints still exist but +can not be resolved while @value{GDBN} is disconnected. Here are some examples of using the @code{trace} command: -- 1.7.0.4 --------------010202010007030905010903--