[commit] Deprecate add_set_cmd
Andrew Cagney
cagney@gnu.org
Mon Feb 21 18:13:00 GMT 2005
Any set command should be accompanied by a corresponding show command
(added using add-setshow-...) and hence allow the current value to be
examined (otherwize the value is write only). These deprecated calls,
which create commands such as:
(gdb) maintenance show-debug-registers <boolean>
do not. They should be replaced with something like:
(gdb) set|show maintenance show-debug-registers
or
(gdb) maintenance set|show show-debug-registers
committed,
Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20050221/eae2926f/attachment.ksh>
More information about the Gdb-patches
mailing list