Use gdbpy_ref in gdbpy_inferiors
authorTom Tromey <tom@tromey.com>
Mon, 7 Nov 2016 04:23:31 +0000 (21:23 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:13:32 +0000 (19:13 -0700)
commitf59fe7f8e3e55472e6fcfb06677ff4925dad1f64
tree5823731e96f71cc8a665194b73616bb218619b48
parent80bd970a4b1388fc4373b3e087006e6c93d71f60
Use gdbpy_ref in gdbpy_inferiors

This changes gdbpy_inferiors to use gdbpy_ref.

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

* python/py-inferior.c (gdbpy_inferiors): Use gdbpy_ref.
gdb/ChangeLog
gdb/python/py-inferior.c