summaryrefslogtreecommitdiff
path: root/gdb/completer.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-08-10 05:03:07 +0000
committerMike Frysinger <vapier@gentoo.org>2012-08-10 05:03:07 +0000
commit95ed1154af62257f640e8a879fca62858e508818 (patch)
tree1542803365a934b9b672963faea68ca79ae9fca7 /gdb/completer.h
parenta4320238c2c4996859ee325cf438fdd46b39c515 (diff)
downloadgdb-95ed1154af62257f640e8a879fca62858e508818.tar.gz
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 680bc2dc1a0..fddfa42eb7d 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);