From patchwork Tue May 14 07:59:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 32668 Received: (qmail 110464 invoked by alias); 14 May 2019 07:59:40 -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 110353 invoked by uid 89); 14 May 2019 07:59:40 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS autolearn=ham version=3.3.1 spammy=retrieve X-HELO: mx1.suse.de Received: from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 14 May 2019 07:59:39 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 55A02AE29; Tue, 14 May 2019 07:59:37 +0000 (UTC) Date: Tue, 14 May 2019 09:59:35 +0200 From: Tom de Vries To: gdb-patches@sourceware.org, Simon Marchi Subject: [PATCH][gdb/doc] Mention index cache in concept and command index Message-ID: <20190514075934.GA5425@delia> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-IsSubscribed: yes Hi, The "automatic symbol index cache" entry in the docs is missing entries in the concept and command indices. Add them. OK for trunk? Thanks, - Tom [gdb/doc] Mention index cache in concept and command index gdb/doc/ChangeLog: 2019-05-14 Tom de Vries * gdb.texinfo (Automatic symbol index cache): Add concept and command index entries. --- gdb/doc/gdb.texinfo | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 0774181ac5..35c87ecde9 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -20407,6 +20407,7 @@ currently work for programs using Ada. @subsection Automatic symbol index cache +@cindex automatic symbol index cache It is possible for @value{GDBN} to automatically save a copy of this index in a cache on disk and retrieve it from there when loading the same binary in the future. This feature can be turned on with @kbd{set index-cache on}. The @@ -20414,11 +20415,15 @@ following commands can be used to tweak the behavior of the index cache. @table @code +@kindex set index-cache on @item set index-cache on +@kindex set index-cache off @itemx set index-cache off Enable or disable the use of the symbol index cache. +@kindex set index-cache directory @item set index-cache directory @var{directory} +@kindex show index-cache directory @itemx show index-cache directory Set/show the directory where index files will be saved. @@ -20432,6 +20437,7 @@ differ according to local convention. There is no limit on the disk space used by index cache. It is perfectly safe to delete the content of that directory to free up disk space. +@kindex show index-cache stats @item show index-cache stats Print the number of cache hits and misses since the launch of @value{GDBN}.