aboutsummaryrefslogtreecommitdiff
path: root/gdb/completer.h
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
parent39c22d1ade25baa5c9afaac499038ddc76a3dd60 (diff)
downloadgdb-db60ec6263a44dae741e54521ccd154ff8b76469.zip
gdb-db60ec6263a44dae741e54521ccd154ff8b76469.tar.gz
gdb-db60ec6263a44dae741e54521ccd154ff8b76469.tar.bz2
* 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 aa0804c..c717a5e 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);