diff options
author | qiyao <qiyao> | 2013-03-14 09:02:26 +0000 |
---|---|---|
committer | qiyao <qiyao> | 2013-03-14 09:02:26 +0000 |
commit | 16617b5f89535364fa7b12f5578d669cb68fc9a9 (patch) | |
tree | be4f811a9c27abdc4f32f5450f9d870aee75930d /gdb/tracepoint.h | |
parent | d048c126aeb0039fea034c7ff0521d2d8f5cc72b (diff) | |
download | gdb-16617b5f89535364fa7b12f5578d669cb68fc9a9.tar.gz |
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/tracepoint.h')
-rw-r--r-- | gdb/tracepoint.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/tracepoint.h b/gdb/tracepoint.h index a5d3d42d048..2a809c7ee10 100644 --- a/gdb/tracepoint.h +++ b/gdb/tracepoint.h @@ -388,6 +388,8 @@ extern void tfind_1 (enum trace_find_type type, int num, extern void trace_save_tfile (const char *filename, int target_does_save); +extern void trace_save_ctf (const char *dirname, + int target_does_save); extern struct traceframe_info *parse_traceframe_info (const char *tframe_info); |