From bbaca940ebb8624260af6a0569b57cf4d32cf8c9 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 23 Feb 2002 20:12:13 +0000 Subject: * 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/cli/cli-cmds.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/cli/cli-cmds.h') diff --git a/gdb/cli/cli-cmds.h b/gdb/cli/cli-cmds.h index d1515cd..a6e574e 100644 --- a/gdb/cli/cli-cmds.h +++ b/gdb/cli/cli-cmds.h @@ -105,7 +105,7 @@ void init_cmd_lists (void); void init_cli_cmds (void); -int is_complete_command (void (*func) (char *args, int from_tty)); +int is_complete_command (struct cmd_list_element *cmd); /* Exported to gdb/main.c */ -- cgit v1.1