aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2016-04-27 15:01:20 +0100
committerYao Qi <yao.qi@linaro.org>2016-04-27 15:01:20 +0100
commit310cdbb65119c60959578460576ad316e3e2fb11 (patch)
tree6f9246774572f37e577eb3e1001b85ff685805e3
parent2d681be471cf8aff8f296cb7713c39e9aa4fc2bb (diff)
downloadgdb-310cdbb65119c60959578460576ad316e3e2fb11.zip
gdb-310cdbb65119c60959578460576ad316e3e2fb11.tar.gz
gdb-310cdbb65119c60959578460576ad316e3e2fb11.tar.bz2
Tweak doc on command tfind
Hi, command "tfind" will find the first trace snapshot if no trace snapshot is selected, but this behavior isn't documented. This patch completes the doc of command "tfind" without argument. gdb/doc: 2016-04-27 Yao Qi <yao.qi@linaro.org> * gdb.texinfo (tfind): Complete doc about tfind without argument.
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo3
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 59956ef..a6bd214 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2016-04-27 Yao Qi <yao.qi@linaro.org>
+
+ * gdb.texinfo (tfind): Complete doc about tfind without
+ argument.
+
2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
* agentexpr.texi (byte): Fix zero_ext description.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 7abd55e..f74c41c 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -13385,7 +13385,8 @@ Stop debugging trace snapshots, resume @emph{live} debugging.
Same as @samp{tfind none}.
@item tfind
-No argument means find the next trace snapshot.
+No argument means find the next trace snapshot or find the first
+one if no trace snapshot is selected.
@item tfind -
Find the previous trace snapshot before the current one. This permits