aboutsummaryrefslogtreecommitdiff
path: root/gdb/completer.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-08-10 05:03:13 +0000
committerMike Frysinger <vapier@gentoo.org>2012-08-10 05:03:13 +0000
commitde0bea007c446f40ecec90a2672e0a806d397e1a (patch)
tree239ac66f780b5afdb4cdc3e2115100a096c7e9b4 /gdb/completer.h
parent44534af395e517016f70c2b0baee26f810391843 (diff)
downloadgdb-de0bea007c446f40ecec90a2672e0a806d397e1a.zip
gdb-de0bea007c446f40ecec90a2672e0a806d397e1a.tar.gz
gdb-de0bea007c446f40ecec90a2672e0a806d397e1a.tar.bz2
gdb: add completion handler for "handle" and "signal"
The command line completion has spoiled me. Thus the lack of completion with the "handle" command annoys me. Patch! This does a few things: - adds a VEC_merge helper - adds a generic signal completer - adds a completion handler for the "handle" command - sets the completion handler for the "signal" command URL: http://sourceware.org/bugzilla/show_bug.cgi?id=10436 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'gdb/completer.h')
-rw-r--r--gdb/completer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/completer.h b/gdb/completer.h
index 680bc2d..fddfa42 100644
--- a/gdb/completer.h
+++ b/gdb/completer.h
@@ -41,6 +41,9 @@ extern VEC (char_ptr) *location_completer (struct cmd_list_element *,
extern VEC (char_ptr) *command_completer (struct cmd_list_element *,
char *, char *);
+extern VEC (char_ptr) *signal_completer (struct cmd_list_element *,
+ char *, char *);
+
extern char *get_gdb_completer_quote_characters (void);
extern char *gdb_completion_word_break_characters (void);