projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a58c879
)
GDB: Correct inline documentation for `add_setshow_cmd_full_erased'
author
Maciej W. Rozycki
<macro@embecosm.com>
Wed, 18 Jan 2023 23:23:00 +0000
(23:23 +0000)
committer
Maciej W. Rozycki
<macro@embecosm.com>
Wed, 18 Jan 2023 23:23:00 +0000
(23:23 +0000)
Use proper English in the description of SET_LIST and SHOW_LIST.
gdb/cli/cli-decode.c
patch
|
blob
|
history
diff --git
a/gdb/cli/cli-decode.c
b/gdb/cli/cli-decode.c
index 359ed48b74828a46041197487fe006187e16b572..c8a3b2e0ecf14943e653280aed2e1c4298188d42 100644
(file)
--- 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