From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27967 invoked by alias); 17 Nov 2011 15:17:22 -0000 Received: (qmail 27756 invoked by uid 22791); 17 Nov 2011 15:17:18 -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 15:17:04 +0000 Received: from nat-jpt.mentorg.com ([192.94.33.2] helo=PR1-MAIL.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1RR3i3-0006x0-Ms from Yao_Qi@mentor.com ; Thu, 17 Nov 2011 07:17: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); Fri, 18 Nov 2011 00:17:01 +0900 Message-ID: <4EC52564.2040206@codesourcery.com> Date: Thu, 17 Nov 2011 15:17: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> <201111171228.16603.pedro@codesourcery.com> <4EC51A8D.8080007@codesourcery.com> <201111171441.15620.pedro@codesourcery.com> In-Reply-To: <201111171441.15620.pedro@codesourcery.com> Content-Type: multipart/mixed; boundary="------------080307000701030309080208" 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/msg00475.txt.bz2 This is a multi-part message in MIME format. --------------080307000701030309080208 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-length: 518 On 11/17/2011 10:41 PM, Pedro Alves wrote: >>> > > The resolution of pending tracepoints requires @value{GDBN} support--- >>> > > when debugging with the remote target, and @value{GDBN} disconnects from the >>> > > remote stub (@pxref{disconnected tracing}), pending tracepoints can not be >> > >> > ...so I suggest remove "(@pxref{disconnected tracing})" here. What do >> > you think? > I do think we should have that reference there. That is fine to me. Here is the final version of doc patch. -- Yao (齐尧) --------------080307000701030309080208 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: 1312 * gdb.texinfo (Create and Delete Tracepoints): Mention pending tracepoint. --- 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 0cadc96..60a2927 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -10337,7 +10337,15 @@ 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---when debugging with the remote target, and +@value{GDBN} disconnects from the remote stub (@pxref{disconnected +tracing}), pending tracepoints can not be resolved (and downloaded to +the remote stub) while @value{GDBN} is disconnected. Here are some examples of using the @code{trace} command: -- 1.7.0.4 --------------080307000701030309080208--