From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5497 invoked by alias); 16 Nov 2011 03:13:29 -0000 Received: (qmail 5461 invoked by uid 22791); 16 Nov 2011 03:13:28 -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; Wed, 16 Nov 2011 03:13:15 +0000 Received: from nat-jpt.mentorg.com ([192.94.33.2] helo=PR1-MAIL.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1RQVw2-00057Q-1J from Yao_Qi@mentor.com ; Tue, 15 Nov 2011 19:13:14 -0800 Received: from [127.0.0.1] ([172.16.63.104]) by PR1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 16 Nov 2011 12:13:11 +0900 Message-ID: <4EC32A42.7090500@codesourcery.com> Date: Wed, 16 Nov 2011 03:13: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: Eli Zaretskii CC: gdb-patches@sourceware.org, Luis Machado Subject: Re: [patch 5/5] Document References: <4EC20E2E.6010402@codesourcery.com> <4EC21DCF.1070003@codesourcery.com> <83d3cte2rr.fsf@gnu.org> In-Reply-To: <83d3cte2rr.fsf@gnu.org> Content-Type: multipart/mixed; boundary="------------080001040800080104020609" 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/msg00411.txt.bz2 This is a multi-part message in MIME format. --------------080001040800080104020609 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-length: 757 On 11/16/2011 01:03 AM, Eli Zaretskii wrote: >> > + Similar >> > +to breakpoint, @dfn{pending tracepoint}---tracepoint whose address is >> > +not yet resolved, is supported as well. > Putting verbs at the end of the sentence produces awkward and hard to > understand sentences (unless you talk in German or Japanese ;-). This applies to Chinese as well :) > Using passive tense makes it even more so. I would reword like this: > > In addition, @value{GDBN} supports @dfn{pending tracepoints}--- > tracepoints whose address is not yet resolved. (This is similar to > pending breakpoints.) That looks good. Eli, Luis, Thanks for your suggestions. Here is a new one. -- Yao (齐尧) --------------080001040800080104020609 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: 1236 * 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..6882b78 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 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 remote stub, pending tracepoints still exists but can +not be resolved while @value{GDBN} is disconnected. Here are some examples of using the @code{trace} command: -- 1.7.0.4 --------------080001040800080104020609--