diff options
author | Tom Tromey <tromey@redhat.com> | 2012-06-13 15:41:20 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-06-13 15:41:20 +0000 |
commit | 136395f954eb858db4d208bb9807f4fdb4eac8f8 (patch) | |
tree | df4f3b3054a5d4e7698334feeb220716a0b4caef /gdb/breakpoint.h | |
parent | e02f3d0d618dd79d0a72216b421f4fb9d91db72c (diff) | |
download | gdb-136395f954eb858db4d208bb9807f4fdb4eac8f8.tar.gz |
* 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.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r-- | gdb/breakpoint.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index a957b6f3cd5..2ad80d64af1 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -23,6 +23,7 @@ #include "value.h" #include "vec.h" #include "ax.h" +#include "command.h" struct value; struct block; @@ -1187,8 +1188,7 @@ extern void add_catch_command (char *name, char *docstring, void (*sfunc) (char *args, int from_tty, struct cmd_list_element *command), - char **(*completer) (struct cmd_list_element *cmd, - char *text, char *word), + completer_ftype *completer, void *user_data_catch, void *user_data_tcatch); |