mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +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:
@ -168,8 +168,7 @@ struct cmd_list_element
|
||||
For example, suppose TEXT is "foo" and we want to complete to
|
||||
"foobar". If WORD is "oo", return "oobar"; if WORD is
|
||||
"baz/foo", return "baz/foobar". */
|
||||
char **(*completer) (struct cmd_list_element *cmd,
|
||||
char *text, char *word);
|
||||
completer_ftype *completer;
|
||||
|
||||
/* Destruction routine for this command. If non-NULL, this is
|
||||
called when this command instance is destroyed. This may be
|
||||
|
Reference in New Issue
Block a user