This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/10806] New: 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: 19 Oct 2009 10:25:34 -0000
- Subject: [Bug python/10806] New: Use ensure_python_env over PyGilState_Ensure
- Reply-to: sourceware-bugzilla at sourceware dot org
Daniel Jacobowitz wrote about some Python/GDB experiences and bugs in the email:
http://sourceware.org/ml/archer/2009-q4/msg00008.html
This bug (and others in their own bugs) is extracted from that email to track
the issue:
* The archer branch calls PyGILState_Ensure in several places where it
should call ensure_python_env. So python_language was often unset if
I tried 'gdb -ex "source -p file.py"'. To work around it, I had the
end of file.py register a new gdb.Command, and called the command.
--
Summary: Use ensure_python_env over PyGilState_Ensure
Product: gdb
Version: archer
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: python
AssignedTo: unassigned at sourceware dot org
ReportedBy: pmuldoon at redhat dot com
CC: gdb-prs at sourceware dot org
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.