public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Tweak doc on command tfind
@ 2016-04-26 13:51 Yao Qi
  2016-04-26 16:22 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Yao Qi @ 2016-04-26 13:51 UTC (permalink / raw)
  To: gdb-patches

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(-)

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
-- 
1.9.1

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Tweak doc on command tfind
  2016-04-26 13:51 [PATCH] Tweak doc on command tfind Yao Qi
@ 2016-04-26 16:22 ` Eli Zaretskii
  2016-04-27 14:04   ` Yao Qi
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2016-04-26 16:22 UTC (permalink / raw)
  To: Yao Qi; +Cc: gdb-patches

> 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Tweak doc on command tfind
  2016-04-26 16:22 ` Eli Zaretskii
@ 2016-04-27 14:04   ` Yao Qi
  0 siblings, 0 replies; 3+ messages in thread
From: Yao Qi @ 2016-04-27 14:04 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Yao Qi, gdb-patches

Eli Zaretskii <eliz@gnu.org> writes:

> OK, thanks.

Patch is pushed in.

-- 
Yao (齐尧)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-27 14:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-26 13:51 [PATCH] Tweak doc on command tfind Yao Qi
2016-04-26 16:22 ` Eli Zaretskii
2016-04-27 14:04   ` Yao Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).