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: [patch] [4/5] Types reference counting [varobj-validation]


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


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