This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Merge handle_inferior_event and handle_inferior_event_1
On 03/27/2019 12:57 PM, Tom Tromey wrote:
> Sergio> I did that, and we (Pedro, Mark, Frank and I) did a session of
> Sergio> collective investigation. I summarized what we found here:
> Sergio> https://bugzilla.redhat.com/show_bug.cgi?id=1690120#c25
>
> Thanks, that's very interesting.
> I suppose either better control over the order of destruction is needed,
> or maybe finalize_python should clear gdb_python_initialized and then
> this should be checked in xmethod destructor.
I think the former is better. I think we should put an
all_values.clear ();
call in quit_force, before the do_final_cleanups call. Even
better, add a new finalize_values function next to
_initialize_values, and call that.
Thanks,
Pedro Alves