summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@embecosm.com>2023-01-18 23:23:00 +0000
committerMaciej W. Rozycki <macro@embecosm.com>2023-01-18 23:23:00 +0000
commit3cfe8022bd570e2208da8e12f2274c3b13aeb0f1 (patch)
treef56a5b2a3835ce4b888799ef1343ff1e55416edc
parenta58c879377f4a381c275aa7a5e208802331f4c95 (diff)
downloadbinutils-gdb-3cfe8022bd570e2208da8e12f2274c3b13aeb0f1.tar.gz
GDB: Correct inline documentation for `add_setshow_cmd_full_erased'
Use proper English in the description of SET_LIST and SHOW_LIST.
-rw-r--r--gdb/cli/cli-decode.c2
1 files changed, 1 insertions, 1 deletions
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