This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] [python] gdb.Inferior reference count fixes
- From: Tom Tromey <tromey at redhat dot com>
- To: pmuldoon at redhat dot com
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 30 Jun 2011 13:51:34 -0600
- Subject: Re: [patch] [python] gdb.Inferior reference count fixes
- References: <m3hb77k0jq.fsf@redhat.com>
>>>>> "Phil" == Phil Muldoon <pmuldoon@redhat.com> writes:
Phil> 2011-06-30 Phil Muldoon <pmuldoon@redhat.com>
Phil> * python/py-inferior.c (infpy_dealloc): New function.
Phil> (inferior_to_inferior_object): Return a new object, or a
Phil> new reference to the existing object.
Phil> (find_thread_object): Cleanup references to inferior.
Phil> (delete_thread_object): Ditto.
Phil> * python/py-infthread.c (create_thread_object): Do not increment
Phil> inferior reference count.
Ok.
Tom