[New-bugs-announce] [issue13628] python-gdb.py: patch to improve support of optimized Python
STINNER Victor
report at bugs.python.org
Sun Dec 18 17:31:28 CET 2011
New submission from STINNER Victor <victor.stinner at haypocalc.com>:
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.
----------
files: gdb.patch
keywords: patch
messages: 149778
nosy: haypo
priority: normal
severity: normal
status: open
title: python-gdb.py: patch to improve support of optimized Python
versions: Python 2.7, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file24032/gdb.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13628>
_______________________________________
More information about the New-bugs-announce
mailing list