]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Fix prefix of maint set/show per-command
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 13 Feb 2018 05:32:53 +0000 (00:32 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 13 Feb 2018 05:33:04 +0000 (00:33 -0500)
commit387cd15b93fdca3a66bbda427c4e1d9340bfb532
treef2f0d972f642089ec8fb8937a19a2e642eaf7aa5
parent0f3f3a55b561e8560a6df2560363143751b5d9af
Fix prefix of maint set/show per-command

I noticed this:

(gdb) apropos per-command
maintenance set per-command -- Per-command statistics settings
set per-command space -- Set whether to display per-command space usage
set per-command symtab -- Set whether to display per-command symtab statistics
set per-command time -- Set whether to display per-command execution time
maintenance show per-command -- Show per-command statistics settings
show per-command space -- Show whether to display per-command space usage
show per-command symtab -- Show whether to display per-command symtab statistics
show per-command time -- Show whether to display per-command execution time

The subcommands of "maintenance set per-command" are missing the
maintenance keyword.  This is because that command is registered with
the wrong prefix.  This patch fixes that.

gdb/ChangeLog:

* maint.c (_initialize_maint_cmds): Fix prefix of maint set/show
per-command.
gdb/ChangeLog
gdb/maint.c