Use gdbpy_enter_varobj in py-varobj.c
authorTom Tromey <tom@tromey.com>
Wed, 9 Nov 2016 03:14:32 +0000 (20:14 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:13:51 +0000 (19:13 -0700)
commit788f258604773ccbe9ccba71f9b1725930324275
treedc2d84ba4f13ce91c861a4b144c3d76a9456d9c2
parent6cd67beaae58c9e870b79feea3cf74ffdf7a9b33
Use gdbpy_enter_varobj in py-varobj.c

This converts the remaining functions in py-varobj.c to use
gdbpy_enter_varobj.

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

* python/py-varobj.c (py_varobj_iter_dtor, py_varobj_iter_next):
Use gdbpy_enter_varobj.
gdb/ChangeLog
gdb/python/py-varobj.c