This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients dmalcolm, loewis, ncoghlan, vstinner
Date 2010-04-17.23:02:03
SpamBayes Score 0.0060824757
Marked as misclassified No
Message-id <1271545325.21.0.79610055788.issue8437@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2010-04-17 23:02:05vstinnersetrecipients: + vstinner, loewis, ncoghlan, dmalcolm
2010-04-17 23:02:05vstinnersetmessageid: <1271545325.21.0.79610055788.issue8437@psf.upfronthosting.co.za>
2010-04-17 23:02:03vstinnerlinkissue8437 messages
2010-04-17 23:02:03vstinnercreate