Use gdbpy_ref in py-inferior.c
authorTom Tromey <tom@tromey.com>
Sun, 20 Nov 2016 17:31:17 +0000 (10:31 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:14:03 +0000 (19:14 -0700)
commit9205649a38c609a42ba52680a316fceaa08c1543
treeb84223d37cd9b9371724c6de2769263e5159b183
parent74c49d454b81c84fcffbc090466e241bdefd2f3a
Use gdbpy_ref in py-inferior.c

This changes py-inferior.c to use gdbpy_ref in more places.

2017-01-10  Tom Tromey  <tom@tromey.com>

* python/py-inferior.c (find_thread_object, build_inferior_list):
Use gdbpy_ref.
gdb/ChangeLog
gdb/python/py-inferior.c