Use gdbpy_enter in py-objfile.c
authorTom Tromey <tom@tromey.com>
Mon, 7 Nov 2016 23:07:53 +0000 (16:07 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:13:42 +0000 (19:13 -0700)
commit2d38bcedc2f91692857d257e106dafc9269d8f1a
treebc859e51a21ba63dfbed559ce9603c1d4fcc2f9d
parent07bc7329128028e6d3e2733c6d2ebd874367bcee
Use gdbpy_enter in py-objfile.c

Change py-objfile.c to use gdbpy_enter.

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

* python/py-objfile.c (py_free_objfile): Use gdbpy_enter.
gdb/ChangeLog
gdb/python/py-objfile.c