This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2011-12-18.16:30:25
SpamBayes Score 5.2180482e-14
Marked as misclassified No
Message-id <1324225888.15.0.612025519119.issue13628@psf.upfronthosting.co.za>
In-reply-to
Content
If Python is compiled with gcc -O3, gdb is unable to get the f argument of PyEval_EvalFrameEx(). It is possible to retrieve "f" from the caller, PyEval_EvalCodeEx().

Attached patch tries to implement this idea and enable more test_gdb tests on optimized Python.

The patch has a problem because some tests fails if Python is not optimized (Python compiled in debug mode).

--

The patch fix other minor bugs in libpython.py related to optimized Python.
History
Date User Action Args
2011-12-18 16:31:28vstinnersetrecipients: + vstinner
2011-12-18 16:31:28vstinnersetmessageid: <1324225888.15.0.612025519119.issue13628@psf.upfronthosting.co.za>
2011-12-18 16:30:27vstinnerlinkissue13628 messages
2011-12-18 16:30:27vstinnercreate