* cli/cli-decode.c: Include "gdb_assert.h".
authorAndrew Cagney <cagney@redhat.com>
Sun, 24 Mar 2002 00:24:35 +0000 (00:24 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 24 Mar 2002 00:24:35 +0000 (00:24 +0000)
commitb2875cc0a24d686592709c5b25fba49b53e14d4a
tree96565b9ef8cc208d9a90e2534eb1dc607f7dcef8
parentc78a341714d40686fecf6f3af1ea9698544713f3
* 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