diff options
author | Michael Snyder <msnyder@vmware.com> | 2011-02-14 23:41:33 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2011-02-14 23:41:33 +0000 |
commit | db5f229b95d85f40de467ebe869732cdbb18c458 (patch) | |
tree | cade0853557de249ad0dc6b61723692d5d8529f1 /gdb/value.c | |
parent | 08e796bc55ca0f881c0afd1cbd76ca8aa19d0e3f (diff) | |
download | gdb-db5f229b95d85f40de467ebe869732cdbb18c458.zip gdb-db5f229b95d85f40de467ebe869732cdbb18c458.tar.gz gdb-db5f229b95d85f40de467ebe869732cdbb18c458.tar.bz2 |
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").
Diffstat (limited to 'gdb/value.c')
-rw-r--r-- | gdb/value.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/value.c b/gdb/value.c index 116eee2..2e07a85 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -3074,7 +3074,7 @@ A few convenience variables are given values automatically:\n\ \"$__\" holds the contents of the last address examined with \"x\"."), &showlist); - add_cmd ("values", no_class, show_values, _("\ + add_cmd ("values", no_set_class, show_values, _("\ Elements of value history around item number IDX (or last ten)."), &showlist); |