This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Tweak doc on command tfind
- From: Yao Qi <qiyao at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 27 Apr 2016 14:02:46 -0000
- Subject: [binutils-gdb] Tweak doc on command tfind
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=310cdbb65119c60959578460576ad316e3e2fb11
commit 310cdbb65119c60959578460576ad316e3e2fb11
Author: Yao Qi <yao.qi@linaro.org>
Date: Wed Apr 27 15:01:20 2016 +0100
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.
Diff:
---
gdb/doc/ChangeLog | 5 +++++
gdb/doc/gdb.texinfo | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)
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