[patch] Fix PR python/10806
Phil Muldoon
pmuldoon@redhat.com
Wed Oct 21 11:47:00 GMT 2009
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 <pmuldoon@redhat.com>
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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr10806.patch
URL: <http://sourceware.org/pipermail/archer/attachments/20091021/13841b9a/attachment.ksh>
More information about the Archer
mailing list