aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-11-20 21:02:36 +0000
committerMike Frysinger <vapier@gentoo.org>2012-11-20 21:02:36 +0000
commitace21957447369d273622e8869f1183549cded3d (patch)
treee1b60584fd3f56030179cad26cfc61c417133efe /gdb/ChangeLog
parentec6632d76b88e151af88bd22fdb310e9dcbb93f5 (diff)
downloadgdb-ace21957447369d273622e8869f1183549cded3d.zip
gdb-ace21957447369d273622e8869f1183549cded3d.tar.gz
gdb-ace21957447369d273622e8869f1183549cded3d.tar.bz2
gdb: include help aliases in help command completion
There are a bunch of aliases that get used with help, but the current command completion logic does not include those when doing completions. Since the framework is already mostly in place, extend complete_on_cmdlist slightly to pass down the ignore_help_classes flag like is done with the existing lookup command logic. Now you can do: (gdb) help use<tab> and get back: (gdb) help user-defined Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 983bbdb..05b6f66 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,12 @@
+2012-11-20 Mike Frysinger <vapier@gentoo.org>
+
+ * cli/cli-decode.c (complete_on_cmdlist): Add a fourth arg and check
+ it when looking at ptr->func.
+ * command.h (complete_on_cmdlist): Add a fourth arg.
+ * completer.c (complete_line_internal): Add local ignore_help_classes,
+ and set it to 1 when reason is not handle_help. Pass this down to
+ lookup_cmd_1 and complete_on_cmdlist.
+
2012-11-20 Tom Tromey <tromey@redhat.com>
* completer.c (count_struct_fields): Remove.