Use gdbpy_enter in py-param.c
authorTom Tromey <tom@tromey.com>
Sat, 12 Nov 2016 18:23:36 +0000 (11:23 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:13:53 +0000 (19:13 -0700)
commit2865bfce3875fa16046b0a987d98ab19fc8bbb9a
treef7c699d55027df7c049cae79b2bfbfd647c5af31
parent0e9dcc758786feaaaf5026c6e59af42b30a35d36
Use gdbpy_enter in py-param.c

This converts the remaining functions in py-param.c to use
gdbpy_enter.

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

* python/py-param.c (get_set_value, get_show_value): Use
gdbpy_enter, gdbpy_ref.
gdb/ChangeLog
gdb/python/py-param.c