[patch]: Trace pointer targets

Nathan Sidwell nathan@codesourcery.com
Thu Feb 10 15:40:00 GMT 2005


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?

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tracepoint3.patch
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20050210/a6615b91/attachment.ksh>


More information about the Gdb-patches mailing list