This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/10806] Use ensure_python_env over PyGilState_Ensure
- From: "pmuldoon at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 23 Oct 2009 13:52:48 -0000
- Subject: [Bug python/10806] Use ensure_python_env over PyGilState_Ensure
- References: <20091019102534.10806.pmuldoon@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From pmuldoon at redhat dot com 2009-10-23 13:52 -------
I've checked in a patch to archer-tromey-python. Checked FSF upstream and there
do not appear to be any other areas where PyGILState_Ensure is used.
commit d4a1bd50bb1d7c3cab75f690597c64191b2b6f78
Author: Phil Muldoon <pmuldoon@redhat.com>
Date: Thu Oct 22 08:39:28 2009 +0100
Use ensure_python_dev over PyGILState_Ensure/Release.
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.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=10806
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.