This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch]: Trace pointer targets
- From: Daniel Jacobowitz <drow at false dot org>
- To: Nathan Sidwell <nathan at codesourcery dot com>,Michael Snyder <msnyder at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com, Paul Brook <paul at codesourcery dot com>
- Date: Mon, 7 Mar 2005 18:00:21 -0500
- Subject: Re: [patch]: Trace pointer targets
- References: <420B3F19.5060709@codesourcery.com>
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