* cli/cli-decode.c (cmd_cfunc_eq): New function.
authorAndrew Cagney <cagney@redhat.com>
Sat, 23 Feb 2002 20:12:13 +0000 (20:12 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sat, 23 Feb 2002 20:12:13 +0000 (20:12 +0000)
commitbbaca940ebb8624260af6a0569b57cf4d32cf8c9
treec8b3b3f60920b696964de3dcb1aa240dfd16f06a
parentb8b8b04721a9b0a677ecd66aa03e3e322d988385
* cli/cli-decode.c (cmd_cfunc_eq): New function.
* command.h (cmd_cfunc_eq): Declare.
* cli/cli-decode.h (cmd_cfunc_eq): Ditto.

* cli/cli-cmds.h (is_complete_command): Change parameter to a
``struct cmd_list_element *''.
* cli/cli-cmds.c (is_complete_command): Update.  Use
cmd_cfunc_eq.
* top.c (execute_command): Pass the command to
is_complete_command.
* tracepoint.c: Replace function.cfunc with cmd_cfunc_eq.
gdb/ChangeLog
gdb/cli/cli-cmds.c
gdb/cli/cli-cmds.h
gdb/cli/cli-decode.c
gdb/cli/cli-decode.h
gdb/command.h
gdb/top.c
gdb/tracepoint.c