This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Trace file support
- From: Stan Shebs <stan at codesourcery dot com>
- To: Stan Shebs <stan at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 15 Jan 2010 14:44:42 -0800
- Subject: Re: [PATCH] Trace file support
- References: <4B4BD994.9070701@codesourcery.com>
Stan Shebs wrote:
This patch adds support for trace files, which are simply dumps of a
target's tracepoints and trace buffer. In addition to the new "tsave"
command to create a trace file, there is a new target "tfile" that
opens a trace file and then lets you do tfind and then print any data
that was collected, just as for you would do for a live target.
I've just committed all this. Just a few minor changes from the posted
version; a NEWS item, a gdbtk tweak, testsuite addition, and fixes for
bugs exposed by testsuite :-) . The testsuite bit is notable in that it
supposedly can run anywhere, irrespective of architecture and existence
live tracing support, by having the test program manually synthesize a
trace file. Be sure to let me know if I'm wrong about its portability!
Stan