Message149778
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. |
|
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 | |
|