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