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: [RFA] Patch to limit field name completion candidates


> 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.


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