This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2] gdb: include help aliases in help command completion
>>>>> "Mike" == Mike Frysinger <vapier@gentoo.org> writes:
Mike> gdb/:
Mike> 2012-11-19 Mike Frysinger <vapier@gentoo.org>
Mike> * cli/cli-decode.c (complete_on_cmdlist): Add a fourth arg and check
Mike> it when looking at ptr->func.
Mike> * command.h (complete_on_cmdlist): Add a fourth arg.
Mike> * completer.c (complete_line_internal): Add local ignore_help_classes,
Mike> and set it to 1 when reason is not handle_help. Pass this down to
Mike> lookup_cmd_1 and complete_on_cmdlist.
Mike> gdb/testsuite/:
Mike> 2012-11-19 Mike Frysinger <vapier@gentoo.org>
Mike> * gdb.base/completion.exp: Add test for help aliases completion.
This is ok. Thanks.
Tom