mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-28 22:21:26 +08:00
* breakpoint.c (add_catch_command): Use completer_ftype.
* breakpoint.h: Include command.h. (add_catch_command): Use completer_ftype. * cli/cli-decode.c (set_cmd_completer): Use completer_ftype. * cli/cli-decode.h (struct cmd_list_element) <completer>: Use completer_ftype. * command.h (completer_ftype): New typedef. (set_cmd_completer): Use it. * python/py-cmd.c (struct cmdpy_completer) <completer>: Use completer_ftype.
This commit is contained in:
@ -35,7 +35,7 @@ struct cmdpy_completer
|
||||
/* Python symbol name. */
|
||||
char *name;
|
||||
/* Completion function. */
|
||||
char **(*completer) (struct cmd_list_element *, char *, char *);
|
||||
completer_ftype *completer;
|
||||
};
|
||||
|
||||
static struct cmdpy_completer completers[] =
|
||||
|
Reference in New Issue
Block a user