This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog command.h completer.c cli/cl ...
- From: vapier at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 20 Nov 2012 21:02:36 -0000
- Subject: src/gdb ChangeLog command.h completer.c cli/cl ...
CVSROOT: /cvs/src
Module name: src
Changes by: vapier@sourceware.org 2012-11-20 21:02:36
Modified files:
gdb : ChangeLog command.h completer.c
gdb/cli : cli-decode.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.base: completion.exp
Log message:
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>
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14844&r2=1.14845
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/command.h.diff?cvsroot=src&r1=1.82&r2=1.83
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/completer.c.diff?cvsroot=src&r1=1.50&r2=1.51
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/cli/cli-decode.c.diff?cvsroot=src&r1=1.109&r2=1.110
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3461&r2=1.3462
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/completion.exp.diff?cvsroot=src&r1=1.59&r2=1.60