summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2021-11-24 15:07:51 -0500
committerSimon Marchi <simon.marchi@efficios.com>2021-11-24 15:07:51 -0500
commitbd51ddc8e16aba2df3ff47541c3807a22f137423 (patch)
treea9feeb6d4f2042cb27eacf148553a55675be1a71
parente19f8248297bb9864ff14368cc89d2446572837a (diff)
downloadbinutils-gdb-bd51ddc8e16aba2df3ff47541c3807a22f137423.tar.gz
gdb: fix help doc for "set index-cache enabled"
When implementing this command, I put "help doc" as a placeholder for the help string, and forgot to update it. Change it for a real help string. Change-Id: Id23c2142c5073dc570bd8a706e9ec6fa8c40eb09
-rw-r--r--gdb/dwarf2/index-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2/index-cache.c b/gdb/dwarf2/index-cache.c
index 06c27db306f..7cb0fd3d9a1 100644
--- a/gdb/dwarf2/index-cache.c
+++ b/gdb/dwarf2/index-cache.c
@@ -360,7 +360,7 @@ _initialize_index_cache ()
= add_setshow_boolean_cmd ("enabled", class_files,
_("Enable the index cache."),
_("Show whether the index cache is enabled."),
- _("help doc"),
+ _("When on, enable the use of the index cache."),
set_index_cache_enabled_command,
get_index_cache_enabled_command,
show_index_cache_enabled_command,