Tweak doc on command tfind

Message ID 1461678675-31334-1-git-send-email-yao.qi@linaro.org
State New, archived
Headers

Commit Message

Yao Qi April 26, 2016, 1:51 p.m. UTC
  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-26  Yao Qi  <yao.qi@linaro.org>

	* gdb.texinfo (tfind): Complete doc about tfind without
	argument.
---
 gdb/doc/gdb.texinfo | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
  

Comments

Eli Zaretskii April 26, 2016, 4:22 p.m. UTC | #1
> From: Yao Qi <qiyaoltc@gmail.com>
> Date: Tue, 26 Apr 2016 14:51:15 +0100
> 
> 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.

OK, thanks.
  
Yao Qi April 27, 2016, 2:04 p.m. UTC | #2
Eli Zaretskii <eliz@gnu.org> writes:

> OK, thanks.

Patch is pushed in.
  

Patch

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