This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 06/40] Expression completer should not match explicit location options
Pedro Alves <palves@redhat.com> writes:
> Currently, the expression completer matches explicit location options,
> which would only make sense for commands that work with linespecs, not
> expressions.
>
> I.e., currently, this:
> "p -functi"
>
> Completes to:
> "p -function "
I don't know much about completer, expression and explicit location, so
I don't know what do you fix here, anything wrong in the completion?
>
> This patch fixes that, and adds regression tests.
--
Yao (齐尧)