Use gdbpy_enter in fnpy_call
authorTom Tromey <tom@tromey.com>
Sat, 12 Nov 2016 18:15:46 +0000 (11:15 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:13:53 +0000 (19:13 -0700)
commit0e9dcc758786feaaaf5026c6e59af42b30a35d36
tree6e9f0c6542aba84323fe6359f3f364ea780ac99c
parent12a5cedd4f2c5b1f4e303efda6f8ac3e06eec944
Use gdbpy_enter in fnpy_call

This changes fnpy_call to use gdbpy_enter and gdbpy_ref.

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

* python/py-function.c (fnpy_call): Use gdbpy_enter, gdbpy_ref.
gdb/ChangeLog
gdb/python/py-function.c