From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18083 invoked by alias); 14 Jun 2013 09:37:38 -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 18073 invoked by uid 89); 14 Jun 2013 09:37:37 -0000 X-Spam-SWARE-Status: No, score=-4.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL autolearn=ham version=3.3.1 Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 14 Jun 2013 09:37:37 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1UnQRq-0005UD-VL from Yao_Qi@mentor.com ; Fri, 14 Jun 2013 02:37:34 -0700 Received: from SVR-ORW-FEM-04.mgc.mentorg.com ([147.34.97.41]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 14 Jun 2013 02:34:06 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-04.mgc.mentorg.com (147.34.97.41) with Microsoft SMTP Server id 14.2.247.3; Fri, 14 Jun 2013 02:37:34 -0700 Message-ID: <51BAE445.5070300@codesourcery.com> Date: Fri, 14 Jun 2013 09:52:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Eli Zaretskii CC: Subject: Re: [PATCH 5/6] New MI command -trace-frame-collected 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> In-Reply-To: <83obbaw425.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-SW-Source: 2013-06/txt/msg00327.txt.bz2 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. -- Yao (齐尧)