Use gdbpy_enter in py-type.c
authorTom Tromey <tom@tromey.com>
Mon, 7 Nov 2016 23:12:17 +0000 (16:12 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:13:44 +0000 (19:13 -0700)
commitc57af3f12b91ca49adc2e06056f794cb09514897
tree903dca9ce03186a04b5744a0f913fd8e6f51118f
parent60e600ec691255536ae53e365d0410ecf79bdea2
Use gdbpy_enter in py-type.c

Change py-type.c to use gdbpy_enter.

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

* python/py-type.c (save_objfile_types): Use gdbpy_enter.
gdb/ChangeLog
gdb/python/py-type.c