Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org, Simon Marchi <simon.marchi@polymtl.ca>
Subject: [PATCH][gdb/doc] Mention index cache in concept and command index
Date: Tue, 14 May 2019 07:59:00 -0000	[thread overview]
Message-ID: <20190514075934.GA5425@delia> (raw)

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  <tdevries@suse.de>

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


                 reply	other threads:[~2019-05-14  7:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190514075934.GA5425@delia \
    --to=tdevries@suse.de \
    --cc=gdb-patches@sourceware.org \
    --cc=simon.marchi@polymtl.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox