From: Maciej W. Rozycki Date: Wed, 18 Jan 2023 23:23:00 +0000 (+0000) Subject: GDB: Correct inline documentation for `add_setshow_cmd_full_erased' X-Git-Tag: binutils-2_41~2207 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3cfe8022bd570e2208da8e12f2274c3b13aeb0f1;p=thirdparty%2Fbinutils-gdb.git GDB: Correct inline documentation for `add_setshow_cmd_full_erased' Use proper English in the description of SET_LIST and SHOW_LIST. --- diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c index 359ed48b748..c8a3b2e0ecf 100644 --- a/gdb/cli/cli-decode.c +++ b/gdb/cli/cli-decode.c @@ -524,7 +524,7 @@ add_set_or_show_cmd (const char *name, return c; } -/* Add element named NAME to both the command SET_LIST and SHOW_LIST. +/* Add element named NAME to both command lists SET_LIST and SHOW_LIST. THECLASS is as in add_cmd. VAR_TYPE is the kind of thing we are setting. VAR is address of the variable being controlled by this command. If nullptr is given as VAR, then both SET_SETTING_FUNC and