OSDN Git Service

* 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)
commit358a73db249108222599515e1579a8e08111d1e5
tree95fa116eebcce313b502cb5bc81ad99121a82dde
parent6d73cbb3fcc1da82b243b551ce51dfc7a5c230b1
* 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