Use gdbpy_enter in py-progspace.c
authorTom Tromey <tom@tromey.com>
Mon, 7 Nov 2016 23:08:36 +0000 (16:08 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:13:42 +0000 (19:13 -0700)
commitbf7da5b06ffbbaa40c8a2900727a791265f897ea
tree30a8e22862d3c923daa87fe3ff167c2019604e82
parent2d38bcedc2f91692857d257e106dafc9269d8f1a
Use gdbpy_enter in py-progspace.c

Change py-progspace.c to use gdbpy_enter.

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

* python/py-progspace.c (py_free_pspace): Use gdbpy_enter.
gdb/ChangeLog
gdb/python/py-progspace.c