[patch] [4/5] Types reference counting [varobj-validation]

Tom Tromey tromey@redhat.com
Thu Apr 16 21:54:00 GMT 2009


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> As varobj_invalidate was unconditionally invalidating any local
Jan> varobjs more often calls to varobj_invalidate could become more
Jan> intrusive to the user so I also fixed varobj_invalidate to care
Jan> only about varobjs bound to the specific objfile.

I am not sure about this implementation.

It seems to me that a varobj expression can span multiple objfiles.
So, don't we have to use the same logic as Paul's recent "display"
change to determine whether a varobj expression is invalid?

Or am I missing something?  I ask because it looks like we have
existing bugs here.

Tom



More information about the Gdb-patches mailing list