This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] [4/5] Types reference counting [varobj-validation]
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 11 Apr 2009 14:27:59 +0300
- Subject: Re: [patch] [4/5] Types reference counting [varobj-validation]
- References: <20090411102215.GE32624@host0.dyn.jankratochvil.net>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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?