[RFA] Patch to limit field name completion candidates
Eli Zaretskii
eliz@gnu.org
Fri Jun 6 10:28:00 GMT 2008
> From: Tom Tromey <tromey@redhat.com>
> Date: Thu, 05 Jun 2008 20:41:21 -0600
>
> >>>>> "Daniel" == Daniel Jacobowitz <drow@false.org> writes:
>
> Daniel> You don't recurse into base classes... for C++ this is
> Daniel> obviously a substantial problem.
>
> Thanks -- I will look at this.
>
> Daniel> Then there's the additional question of dynamic type.
>
> I did think about this one, but forgot to mention it.
>
> I don't see a good way to make it work in general. It could be made
> to work sometimes, but not always. In particular I think we could add
> a "don't evaluate side effects" mode to expression evaluation -- this
> would do an ok job except for the case of an expression involving an
> inferior function call. In that case I think we could still only use
> the static type.
These limitations should be mentioned in the manual, at least as a
@footnote, I think.
More information about the Gdb-patches
mailing list