Use gdbpy_enter_varobj in varobj_value_get_print_value
authorTom Tromey <tom@tromey.com>
Sat, 12 Nov 2016 18:51:59 +0000 (11:51 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:13:56 +0000 (19:13 -0700)
commit68cdc55720bbe34d9d844ef2a0c4d75fcab4bc99
treed445d8a973e416a562577406b9f2f5aba6501ae0
parent1eba63835ea23cbae6059c076db985a47e39ce24
Use gdbpy_enter_varobj in varobj_value_get_print_value

This changes the last function in varobj.c to use gdbpy_enter_varobj.

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

* varobj.c (varobj_value_get_print_value): Use
gdbpy_enter_varobj.
gdb/ChangeLog
gdb/varobj.c