Use gdbpy_ref in python.c
authorTom Tromey <tom@tromey.com>
Mon, 7 Nov 2016 04:49:34 +0000 (21:49 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:13:36 +0000 (19:13 -0700)
commitff3724f5123b9d9c52a07f7c1a5d85852e666c48
tree40c1328bfccabd8ae419a670686cf25a1f69450b
parent0700aea50c7a77d7908868373d0f9644b0ece29c
Use gdbpy_ref in python.c

This changes a couple of functions in python.c to use gdbpy_ref.

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

* python/python.c (gdbpy_progspaces, gdbpy_objfiles): Use
gdbpy_ref.
gdb/ChangeLog
gdb/python/python.c