aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2002-01-10 08:15:58 +0000
committerEli Zaretskii <eliz@gnu.org>2002-01-10 08:15:58 +0000
commitdb60ec6263a44dae741e54521ccd154ff8b76469 (patch)
tree481bf1ae55ca721d52cafb68f749967c35fb11e6 /gdb/completer.h
parent * c-typeprint.c (is_type_conversion_operator): Fix thinko. (diff)
downloadbinutils-gdb-db60ec6263a44dae741e54521ccd154ff8b76469.tar.gz
binutils-gdb-db60ec6263a44dae741e54521ccd154ff8b76469.tar.bz2
binutils-gdb-db60ec6263a44dae741e54521ccd154ff8b76469.zip
* completer.c (command_completer): New function.
* completer.h <command_completer>: Add prototype. * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the completer for the "help" command.
Diffstat (limited to 'gdb/completer.h')
-rw-r--r--gdb/completer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/completer.h b/gdb/completer.h
index aa0804cafcd..c717a5e5c38 100644
--- a/gdb/completer.h
+++ b/gdb/completer.h
@@ -29,6 +29,8 @@ extern char **filename_completer (char *, char *);
extern char **location_completer (char *, char *);
+extern char **command_completer (char *, char *);
+
extern char *get_gdb_completer_word_break_characters (void);
extern char *get_gdb_completer_quote_characters (void);