[issue8482] test_gdb - "(unable to read python frame information)" mismatch

STINNER Victor report at bugs.python.org
Thu Apr 22 02:55:35 CEST 2010


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

test_gdb of py3k now pass with ./configure --with-pydebug (no optimization <=> -O0), but fail (Unable to read information on python frame) with ./configure (-O3). The test does also fail with -O1.

Recompile only ceval.c with -O0 is enough to fix this issue:
----
$ rm ./Python/ceval.o
$ vim Makefile
# replace -O3 by -O0
$ make && ./python Lib/test/regrtest.py -v test_gdb
# success
----

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8482>
_______________________________________


More information about the Python-bugs-list mailing list