Use gdbpy_ref in call_doc_function
authorTom Tromey <tom@tromey.com>
Mon, 7 Nov 2016 04:29:12 +0000 (21:29 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:13:35 +0000 (19:13 -0700)
commit1bb44c9f567c75355c1b4417d88cda959e82a3a3
treee2bc3f34106aafc33a15bfe653504a12e7ef30a4
parent87ce03fdc5a94f48fe62580410a099c0a0f68ee0
Use gdbpy_ref in call_doc_function

This changes call_doc_function to use gdbpy_ref.

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

* python/py-param.c (call_doc_function): Use gdbpy_ref.
gdb/ChangeLog
gdb/python/py-param.c