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/ctf.h | |
parent | 6f2ef5f590ac789d01b27e3463d0d69cb339b4e4 (diff) | |
download | binutils-d0353e76919f8bd8cfdd0e9da13fa16ab95df2d3.zip binutils-d0353e76919f8bd8cfdd0e9da13fa16ab95df2d3.tar.gz binutils-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/ctf.h')
-rw-r--r-- | gdb/ctf.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gdb/ctf.h b/gdb/ctf.h new file mode 100644 index 0000000..6a61cf3 --- /dev/null +++ b/gdb/ctf.h @@ -0,0 +1,25 @@ +/* CTF format support. + + Copyright (C) 2012-2013 Free Software Foundation, Inc. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +#ifndef CTF_H +#define CTF_H + +extern struct trace_file_writer *ctf_trace_file_writer_new (void); + +#endif |