2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
authorPhil Muldoon <pmuldoon@redhat.com>
Mon, 11 Jul 2011 12:10:19 +0000 (12:10 +0000)
committerPhil Muldoon <pmuldoon@redhat.com>
Mon, 11 Jul 2011 12:10:19 +0000 (12:10 +0000)
commit754eadd19fceada3873d39edc914c0b63578c000
tree51ed929e4b93e7ffe55e6db389b293b0c8fed1f7
parent2843fdaab1bfef475382e13acfd6651bc4ae9e32
2011-07-11  Phil Muldoon  <pmuldoon@redhat.com>

* python/py-inferior.c (infpy_dealloc): New function.
        (inferior_to_inferior_object): Return a new object, or a
new reference to the existing object.
        (find_thread_object): Cleanup references to inferior.
        (delete_thread_object): Ditto.
        * python/py-infthread.c (create_thread_object): Do not increment
inferior reference count.
gdb/ChangeLog
gdb/python/py-inferior.c
gdb/python/py-infthread.c