Files
Tom Tromey 4ecee2c47d Introduce gdbpy_enter
This introduces gdbpy_enter, a class that can be used to acquire and
release the Python GIL, and also set other Python-related globals used
by gdb.  ensure_python_env is rewritten in terms of this new class.

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

	* python/python.c (gdbpy_enter): New constructor.
	(~gdbpy_enter): New destructor.
	(restore_python_env, ensure_python_env): Rewrite.
	* python/python-internal.h (gdbpy_enter): New class.
2017-01-10 19:13:38 -07:00
..
2017-01-10 19:13:31 -07:00
2017-01-10 19:13:29 -07:00
2017-01-10 19:13:29 -07:00
2017-01-10 19:13:31 -07:00
2017-01-10 19:13:32 -07:00
2017-01-10 19:13:34 -07:00
2017-01-10 19:13:35 -07:00
2017-01-10 19:13:29 -07:00
2017-01-10 19:13:30 -07:00
2017-01-10 19:13:37 -07:00
2017-01-10 19:13:38 -07:00
2017-01-10 19:13:38 -07:00