Message149778
| 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:28 | vstinner | set | recipients:
+ vstinner |
| 2011年12月18日 16:31:28 | vstinner | set | messageid: <1324225888.15.0.612025519119.issue13628@psf.upfronthosting.co.za> |
| 2011年12月18日 16:30:27 | vstinner | link | issue13628 messages |
| 2011年12月18日 16:30:27 | vstinner | create |
|