This is the mail archive of the gdb-patches@sources.redhat.com 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]: Trace pointer targets


On Thu, Feb 10, 2005 at 11:01:45AM +0000, Nathan Sidwell wrote:
> Hi,
> this patch modifies the tracepoint expression mechanism so that the
> target of a pointer expression is also gathered.  It's uesful to gather
> this information automatically, and the gdb.trace/collection.exp test
> has a case where the contents of an array parameter are expected to
> be gathered automatically.
> 
> The patch gathers gathers the first 2^N objects at the pointer target,
> where N is the smallest value such that at least 16 bytes are gathered.
> 
> built & tested on i686-pc-linux-gnu, and an unreleased architecture, ok?

Punting this one to Michael.  I think at the least you'll need an upper
limit on the length if the object is large.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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