Use gdbpy_ref in py-param.c
authorTom Tromey <tom@tromey.com>
Sun, 20 Nov 2016 17:34:34 +0000 (10:34 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:14:04 +0000 (19:14 -0700)
commit97d83487d5fbffd04d68a049f97009e1df2562a3
tree3b194cd9bb4550e936beea7525616c1cc8fa4417
parent9205649a38c609a42ba52680a316fceaa08c1543
Use gdbpy_ref in py-param.c

This changes py-param.c to use gdbpy_ref in a couple more spots.

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

* python/py-param.c (get_doc_string, compute_enum_values): Use
gdbpy_ref.
gdb/ChangeLog
gdb/python/py-param.c