From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26290 invoked by alias); 14 Jun 2013 10:41:53 -0000 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 Received: (qmail 26276 invoked by uid 89); 14 Jun 2013 10:41:51 -0000 X-Spam-SWARE-Status: No, score=-4.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL autolearn=no version=3.3.1 Received: from mtaout21.012.net.il (HELO mtaout21.012.net.il) (80.179.55.169) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 14 Jun 2013 10:41:49 +0000 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MOD00000PK84S00@a-mtaout21.012.net.il> for gdb-patches@sourceware.org; Fri, 14 Jun 2013 13:41:46 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MOD000V9PPL2A40@a-mtaout21.012.net.il>; Fri, 14 Jun 2013 13:41:46 +0300 (IDT) Date: Fri, 14 Jun 2013 12:34:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH 5/6] New MI command -trace-frame-collected In-reply-to: <51BAE445.5070300@codesourcery.com> To: Yao Qi Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83vc5hug7e.fsf@gnu.org> References: <1370610493-26468-1-git-send-email-yao@codesourcery.com> <1371086914-8398-1-git-send-email-yao@codesourcery.com> <1371086914-8398-6-git-send-email-yao@codesourcery.com> <83obbaw425.fsf@gnu.org> <51BAE445.5070300@codesourcery.com> X-SW-Source: 2013-06/txt/msg00329.txt.bz2 > Date: Fri, 14 Jun 2013 17:37:09 +0800 > From: Yao Qi > CC: > > On 06/13/2013 09:09 PM, Eli Zaretskii wrote: > > What is meant by "explicitly wholly collected objects"? That phrase > > got me confused, especially the "wholly" part. > > > > In tracepoint actions, variables can be collected, in whole or part. As > the doc explained below, if myVar, myArray[myIndex], and myObj.field are > collected, only myVar is collected as a whole or wholly collected and > the rest are not. If myObj is collected in actions, it is wholly > collected too. myArray is partially collected, since only element on > index myIndex is collected, and we call it computed expressions here. This is not described anywhere in the manual. In fact, the word "wholly" never appears in the manual and "whole" never appears in any context related to tracepoints. In the node "Tracepoint Actions", we don't make any distinction between collecting "in whole" and "in part". So if this distinction is important, please add to "Tracepoint Actions" the explanation similar to what you wrote above, and then make a cross-reference to that from the description of -trace-frame-collected. Thanks.