This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 (齐尧)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]