[COMMITTED,v9,2.1/6] GDB: Correct inline documentation for `add_setshow_cmd_full_erased'

Message ID alpine.DEB.2.20.2301182238310.7841@tpp.orcam.me.uk
State Committed
Series GDB: Add missing inline documentation for `add_setshow_cmd_full' |

Commit Message

Maciej W. Rozycki Jan. 18, 2023, 11:24 p.m. UTC
  Use proper English in the description of SET_LIST and SHOW_LIST.
New change in v9.
 gdb/cli/cli-decode.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



Index: src/gdb/cli/cli-decode.c
--- src.orig/gdb/cli/cli-decode.c
+++ src/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