From patchwork Tue Apr 26 13:51:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Qi X-Patchwork-Id: 11885 Received: (qmail 48099 invoked by alias); 26 Apr 2016 13:51:51 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 48089 invoked by uid 89); 26 Apr 2016 13:51:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:938, HX-Received:10.98.67.67, Stop, 2016-04-26 X-HELO: mail-pf0-f169.google.com Received: from mail-pf0-f169.google.com (HELO mail-pf0-f169.google.com) (209.85.192.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 26 Apr 2016 13:51:41 +0000 Received: by mail-pf0-f169.google.com with SMTP id 206so7163169pfu.0 for ; Tue, 26 Apr 2016 06:51:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=0d0fbTSif0Xqfm0Cz7egCVDDg60JjczQhj/WSNPLmks=; b=Gbn71YEA9yeg3orUUbAOHjyJz9Qy3S/zO9JEHbotrrWzOOYmWby1u5Yi5sBst9ehGo 3+qJggM0lQjPw7tg21Rx6RcEGZGuoCAWwuc5Ho885k9oMCdAUBE/eKHLcCZR/00/Kvqi b7tsPo4OJ37w1xT37eDdgTa+dlTIoiaPaRQCmYhkzlcNbnu8KtzBlUUq+vEORDpkuClq EL+buq4OlpIlg7XiotUehWiLJWvIqCW/lU4IXJNwxHZO3NvPRH7zjd8swAMYJTGTcVp3 DUH495VEhC+PCiv+SGvXJ12Yvh6zCMFW7R4A4H5dg1ypsVkw1XUG4kvSR6C5PekExwAc kncg== X-Gm-Message-State: AOPr4FUp6Puoqw88NvwSzTgzLSPeDgkKyl9KbW4Y/QKMV1wuC9hd3NQeYsQFxl56xqIkXA== X-Received: by 10.98.67.67 with SMTP id q64mr3849732pfa.44.1461678699525; Tue, 26 Apr 2016 06:51:39 -0700 (PDT) Received: from E107787-LIN.cambridge.arm.com (gcc1-power7.osuosl.org. [140.211.15.137]) by smtp.gmail.com with ESMTPSA id k65sm37348535pfb.30.2016.04.26.06.51.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 Apr 2016 06:51:38 -0700 (PDT) From: Yao Qi X-Google-Original-From: Yao Qi To: gdb-patches@sourceware.org Subject: [PATCH] Tweak doc on command tfind Date: Tue, 26 Apr 2016 14:51:15 +0100 Message-Id: <1461678675-31334-1-git-send-email-yao.qi@linaro.org> X-IsSubscribed: yes 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 * 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