OSDN Git Service

* cli/cli-decode.c: Include "gdb_assert.h".
authorcagney <cagney>
Sun, 24 Mar 2002 00:24:35 +0000 (00:24 +0000)
committercagney <cagney>
Sun, 24 Mar 2002 00:24:35 +0000 (00:24 +0000)
commit38327fbbb0f89dc37e05b9e95430043dbdd7472a
tree2bc02183cc08d2e55353cf4ec4c58f3ddc140025
parent20b0bb408945fef1d9e3feb48c46f5ff4e08f47e
* cli/cli-decode.c: Include "gdb_assert.h".
(add_set_or_show_cmd): New static function.
(add_set_cmd): Rewrite.  Use add_set_or_show_cmd.
(add_show_from_set): Rewrite. Use add_set_or_show_cmd.  Don't copy
all fields, such as func, from the set command.
gdb/ChangeLog
gdb/cli/cli-decode.c