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.
This commit is contained in:
Tom Tromey 2016-11-12 11:53:50 -07:00
parent 68cdc55720
commit 17a22718b1
5 changed files with 8 additions and 36 deletions

View file

@ -538,9 +538,6 @@ class gdbpy_enter_varobj : public gdbpy_enter
};
struct cleanup *ensure_python_env (struct gdbarch *gdbarch,
const struct language_defn *language);
extern struct gdbarch *python_gdbarch;
extern const struct language_defn *python_language;