[PATCH 06/40] Expression completer should not match explicit location options

Yao Qi qiyaoltc@gmail.com
Thu Jun 29 11:24:00 GMT 2017


Pedro Alves <palves@redhat.com> writes:

> commands that take expressions (not linespecs/locations) as
> arguments, such as the "print" command, do _not_ understand
> the "-source", "-function" etc. switches.  Instead, "-foo" is
> understood as an expression applying unary minus on a symbol
> named "foo" (think "print -1").

This paragraph is useful.  Thanks for the explanation.  Patch is good to
me.

-- 
Yao (齐尧)



More information about the Gdb-patches mailing list