GDB: Add references to erased args in cli-decode.c
authorMaciej W. Rozycki <macro@embecosm.com>
Wed, 18 Jan 2023 23:38:50 +0000 (23:38 +0000)
committerMaciej W. Rozycki <macro@embecosm.com>
Wed, 18 Jan 2023 23:38:50 +0000 (23:38 +0000)
commit0e38c6ff4fa33550f93e3bf7eecac52b3ea7379f
tree445bb50b6d6a3923e9efa3db4d4e3f1ad3e2ead9
parent439ee793446b911989defb21902829519a2a1908
GDB: Add references to erased args in cli-decode.c

Complement commit 1d7fe7f01b93 ("gdb: Introduce setting construct within
cmd_list_element") and commit 702991711a91 ("gdb: Have setter and getter
callbacks for settings") and update inline documentation accordingly for
`add_set_or_show_cmd' and `add_setshow_cmd_full_erased', documenting the
`args' parameter and removing references to `var', `set_setting_func'
and `get_setting_func'.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/cli/cli-decode.c