This patch addresses PR python/10806. It is mechanical replacement of the PyGILState_Ensure/Release with the more recently introduced ensure_python_env. OK? Cheers, Phil 2009-10-21 Phil Muldoon PR python/10806 * python/python.c (run_python_script): Use ensure_python_env over PyGILState_Ensure. (gdbpy_run_events): Likewise. (run_python_script): Likewise. (source_python_script): Likewise. * python/py-breakpoint.c (gdbpy_breakpoint_created): Likewise. (gdbpy_breakpoint_deleted): Likewise. * python/py-inferior.c (delete_inferior_object): Likewise. (add_thread_objet): Likewise. (delete_thread_object): Likewise.