This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Check original contents at tracepoints
- From: Tom Tromey <tromey at redhat dot com>
- To: Stan Shebs <stan at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 27 May 2010 13:37:45 -0600
- Subject: Re: [RFC] Check original contents at tracepoints
- References: <4BD24BC1.4030103@codesourcery.com>
- Reply-to: tromey at redhat dot com
>>>>> "Stan" == Stan Shebs <stan@codesourcery.com> writes:
Stan> So the idea of this patch is to record, at definition time, the
Stan> bytes that the tracepoint expects to overwrite when it is
Stan> downloaded for the trace run. The agent then compares with what
Stan> is currently at that address, and refuses to start the run if
Stan> there is any discrepancy.
This seems like a reasonable sanity check to me.
Stan> Assuming the whole idea has merit, one of the open issues has been to
Stan> decide how many bytes to record.
I don't have much to add on this front, sorry.
Tom