This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Patch to limit field name completion candidates
On Thu, Jun 05, 2008 at 06:49:03PM -0600, Tom Tromey wrote:
> Another thing not accounted for in this implementation is that for
> some languages you may want to complete more things. For instance,
> this would have to be expanded to work properly for Java, because in
> Java you can have a type name, a field name, or method name after ".".
> I think this isn't a big problem; the current code is, IMO, a decent
> step in that direction.
Oh gosh. I had something important to comment on in my review and I
totally forgot it.
You don't recurse into base classes... for C++ this is obviously a
substantial problem. Then there's the additional question of dynamic
type.
--
Daniel Jacobowitz
CodeSourcery