Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH][gdb/doc] Mention index cache in concept and command index
@ 2019-05-14  7:59 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2019-05-14  7:59 UTC (permalink / raw)
  To: gdb-patches, Simon Marchi

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-14  7:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-14  7:59 [PATCH][gdb/doc] Mention index cache in concept and command index Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox