aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2016-10-14 11:39:16 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2016-10-14 11:39:26 -0400
commit99e61edafe27b4949f9d6c49a016d9a18bc5d917 (patch)
treee95380adda4305f7038c2492e484c3ddf1f07a38 /gdb
parente913b9cb939c45ce9cbf0f224da6466cd3094c3a (diff)
downloadgdb-99e61edafe27b4949f9d6c49a016d9a18bc5d917.zip
gdb-99e61edafe27b4949f9d6c49a016d9a18bc5d917.tar.gz
gdb-99e61edafe27b4949f9d6c49a016d9a18bc5d917.tar.bz2
Document -ctf switch of -trace-save
The -trace-save MI command supports saving the trace in the CTF format, as its CLI counterpart, but it's not documented. gdb/doc/ChangeLog: * gdb.texinfo (GDB/MI Tracepoint Commands): Document -ctf switch of -trace-save.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo6
2 files changed, 10 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index c777e91..9517627 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2016-10-14 Simon Marchi <simon.marchi@ericsson.com>
+
+ * gdb.texinfo (GDB/MI Tracepoint Commands): Document -ctf switch
+ of -trace-save.
+
2016-10-06 Tom Tromey <tom@tromey.com>
* guile.texi (Types In Guile): Remove Java mentions.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 56cd59a..d419626 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -30934,7 +30934,7 @@ body=[variable=@{name="$trace_timestamp",initial="0"@}
@subsubheading Synopsis
@smallexample
- -trace-save [-r ] @var{filename}
+ -trace-save [ -r ] [ -ctf ] @var{filename}
@end smallexample
Saves the collected trace data to @var{filename}. Without the
@@ -30942,6 +30942,10 @@ Saves the collected trace data to @var{filename}. Without the
in a local file. With the @samp{-r} option the target is asked
to perform the save.
+By default, this command will save the trace in the tfile format. You can
+supply the optional @samp{-ctf} argument to save it the CTF format. See
+@ref{Trace Files} for more information about CTF.
+
@subsubheading @value{GDBN} Command
The corresponding @value{GDBN} command is @samp{tsave}.