This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 5/6] New MI command -trace-frame-collected


> Date: Fri, 14 Jun 2013 17:37:09 +0800
> From: Yao Qi <yao@codesourcery.com>
> CC: <gdb-patches@sourceware.org>
> 
> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]