diff options
author | Yao Qi <yao@codesourcery.com> | 2013-03-14 09:02:30 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2013-03-14 09:02:30 +0000 |
commit | d0353e76919f8bd8cfdd0e9da13fa16ab95df2d3 (patch) | |
tree | d751aa23ce561e260256105b4fc16e18e87f2551 /gdb/doc | |
parent | 6f2ef5f590ac789d01b27e3463d0d69cb339b4e4 (diff) | |
download | gdb-d0353e76919f8bd8cfdd0e9da13fa16ab95df2d3.zip gdb-d0353e76919f8bd8cfdd0e9da13fa16ab95df2d3.tar.gz gdb-d0353e76919f8bd8cfdd0e9da13fa16ab95df2d3.tar.bz2 |
gdb/
2013-03-14 Hui Zhu <hui@codesourcery.com>
Yao Qi <yao@codesourcery.com>
* Makefile.in (REMOTE_OBS): Add ctf.o.
(SFILES): Add ctf.c.
(HFILES_NO_SRCDIR): Add ctf.h.
* ctf.c, ctf.h: New files.
* tracepoint.c: Include 'ctf.h'.
(collect_pseudocommand): Remove static.
(trace_save_command): Parse option "-ctf".
Produce different trace file writers per option.
Adjust output message.
(trace_save_tfile, trace_save_ctf): New.
* tracepoint.h (trace_save_tfile, trace_save_ctf): Declare.
* mi/mi-main.c: Include 'ctf.h'.
(mi_cmd_trace_save): Handle option '-ctf'. Call either
trace_save_tfile or trace_save_ctf.
* NEWS: Mention these changes.
gdb/doc/
2013-03-14 Hui Zhu <hui@codesourcery.com>
Yao Qi <yao@codesourcery.com>
* gdb.texinfo (Trace Files): Add "tsave -ctf".
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index d45c4b8..4830331 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2013-03-14 Hui Zhu <hui@codesourcery.com> + Yao Qi <yao@codesourcery.com> + + * gdb.texinfo (Trace Files): Add "tsave -ctf". + 2013-03-13 Keith Seitz <keiths@redhat.com> * gdb.texinfo (Maintenance Commands): Add missing ')' for diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 0822bd2..4ac28bb 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -12286,6 +12286,7 @@ of trace data, via the @code{target tfile} command. @kindex tsave @item tsave [ -r ] @var{filename} +@itemx tsave [-ctf] @var{dirname} Save the trace data to @var{filename}. By default, this command assumes that @var{filename} refers to the host filesystem, so if necessary @value{GDBN} will copy raw trace data up from the target and @@ -12294,6 +12295,11 @@ optional argument @code{-r} (``remote'') to direct the target to save the data directly into @var{filename} in its own filesystem, which may be more efficient if the trace buffer is very large. (Note, however, that @code{target tfile} can only read from files accessible to the host.) +By default, this command will save trace frame in tfile format. +You can supply the optional argument @code{-ctf} to save date in CTF +format. The @dfn{Common Trace Format} (CTF) is proposed as a trace format +that can be shared by multiple debugging and tracing tools. Please go to +@indicateurl{http://www.efficios.com/ctf} to get more information. @kindex target tfile @kindex tfile |