OSDN Git Service

2011-02-14 Michael Snyder <msnyder@vmware.com>
authormsnyder <msnyder>
Mon, 14 Feb 2011 23:41:33 +0000 (23:41 +0000)
committermsnyder <msnyder>
Mon, 14 Feb 2011 23:41:33 +0000 (23:41 +0000)
commit3a97c64aff41f726e3488e6827be5df85da9f0c2
tree5fecbc3c84759868aab487823dc79fc984dff2dc
parent9ca9699709107d9433af275e7f76513a639507fe
2011-02-14  Michael Snyder  <msnyder@vmware.com>

* command.h (enum command_class): New class 'no_set_class', for
"show" commands without a corresponding "set" command.
* value.c (_initialize_values): Use 'no_set_class' for "show values".
* copying.c (_initialize_copying): Ditto for "show copying" and
"show warranty".
* cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and
"show version".
* cli/cli-setshow.c (cmd_show_list): Skip "show" commands for
which there is no corresponding "set" command (eg. "show copying").
gdb/ChangeLog
gdb/cli/cli-cmds.c
gdb/cli/cli-setshow.c
gdb/command.h
gdb/copying.c
gdb/value.c