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]


> Date: Sat, 11 Apr 2009 12:22:15 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> 
> currently GDB was sometimes keeping varobjs with stale references to objfiles.
> With the changes GDB started crashing on this problem.
> 
> +/* Invalidate the varobjs that are tied to the specified OBJFILE.  Call this
> +   function before you start removing OBJFILE.
> +
> +   Call varobj_revalidate after the OBJFILEs updates get finished.

Thanks.

Should this be added to gdbint.texinfo?


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