Remove ensure_python_env
authorTom Tromey <tom@tromey.com>
Sat, 12 Nov 2016 18:53:50 +0000 (11:53 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:13:57 +0000 (19:13 -0700)
commit17a22718b113a220de121ef4211fc3990d9b1745
tree4d9a2f9a6fe31d0cda47cf6b4cc857feca816ab0
parent68cdc55720bbe34d9d844ef2a0c4d75fcab4bc99
Remove ensure_python_env

All of gdb has been converted away from ensure_python_env and
varobj_ensure_python_env now; so remove them.

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

* python/python.c (ensure_python_env, restore_python_env):
Remove.
* python/python-internal.h (ensure_python_env): Don't declare.
* varobj.h (varobj_ensure_python_env): Don't declare.
* varobj.c (varobj_ensure_python_env): Remove.
gdb/ChangeLog
gdb/python/python-internal.h
gdb/python/python.c
gdb/varobj.c
gdb/varobj.h