OSDN Git Service

* cli/cli-decode.c (cmd_cfunc_eq): New function.
authorcagney <cagney>
Sat, 23 Feb 2002 20:12:12 +0000 (20:12 +0000)
committercagney <cagney>
Sat, 23 Feb 2002 20:12:12 +0000 (20:12 +0000)
commit36b202e578a883e5e780da3e4adfc62de19ad2b3
treeb335111023965a8d6cddb9ce648c75861e4f47fd
parent8698ecb0b0a4d83415b81b03fa5a1a5adeb6e706
* 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