gdb: fix help doc for "set index-cache enabled"
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 24 Nov 2021 20:07:51 +0000 (15:07 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 24 Nov 2021 20:07:51 +0000 (15:07 -0500)
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

gdb/dwarf2/index-cache.c

index 06c27db306ffb446f4355fa82458ec531fe91117..7cb0fd3d9a1cf4d2eb794b7ac003560fc7fec7fe 100644 (file)
@@ -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,