gdb/
authorYao Qi <yao@codesourcery.com>
Thu, 14 Mar 2013 09:02:30 +0000 (09:02 +0000)
committerYao Qi <yao@codesourcery.com>
Thu, 14 Mar 2013 09:02:30 +0000 (09:02 +0000)
commitd0353e76919f8bd8cfdd0e9da13fa16ab95df2d3
treed751aa23ce561e260256105b4fc16e18e87f2551
parent6f2ef5f590ac789d01b27e3463d0d69cb339b4e4
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".
gdb/ChangeLog
gdb/Makefile.in
gdb/NEWS
gdb/ctf.c [new file with mode: 0644]
gdb/ctf.h [new file with mode: 0644]
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/mi/mi-main.c
gdb/tracepoint.c
gdb/tracepoint.h