Use gdbpy_enter_varobj in more of varobj.c
authorTom Tromey <tom@tromey.com>
Sat, 12 Nov 2016 18:37:52 +0000 (11:37 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:13:55 +0000 (19:13 -0700)
commitbde7b3e3a0d5e1f0b66730d692b21c98a8686f75
tree0540e5b01b8940cf7695e8c3a10d1d35203c4578
parenta7785f8c797183eb363e95c201343df67d8536c6
Use gdbpy_enter_varobj in more of varobj.c

This converts most of the remaining functions in varobj.c to use
gdbpy_enter_varobj.

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

* varobj.c (varobj_get_display_hint)
(dynamic_varobj_has_child_method, install_new_value_visualizer)
(varobj_set_visualizer, free_variable): Use
gdbpy_enter_varobj.
gdb/ChangeLog
gdb/varobj.c