[PATCH] gdb: fix help doc for "set index-cache enabled"

Andrew Burgess aburgess@redhat.com
Wed Nov 24 16:25:53 GMT 2021


* Simon Marchi via Gdb-patches <gdb-patches@sourceware.org> [2021-11-23 11:09:43 -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.

LGTM.

Thanks,
Andrew

> 
> Change-Id: Id23c2142c5073dc570bd8a706e9ec6fa8c40eb09
> ---
>  gdb/dwarf2/index-cache.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/gdb/dwarf2/index-cache.c b/gdb/dwarf2/index-cache.c
> index 06c27db306ff..7cb0fd3d9a1c 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,
> -- 
> 2.26.2
> 



More information about the Gdb-patches mailing list