[issue8437] test_gdb: gdb.Frame has no attribute function
STINNER Victor
report at bugs.python.org
Sun Apr 18 01:02:05 CEST 2010
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
According to documentation of the Python API of gdb, a frame has a function method. I read gdb 7.0, 7.0.1 and 7.1 (downloaded from http://ftp.gnu.org/gnu/gdb): there is not "function" method, but a "name" method.
On my Debiand Sid (gdb 7.1), gdb has the name method, but not the function method.
Can we use frame.name() instead of frame.function().name on any OS and all gdb 7.x versions?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8437>
_______________________________________
More information about the Python-bugs-list
mailing list