This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug python/13326] Need support for C++ method call for a gdb.Value object from within python


https://sourceware.org/bugzilla/show_bug.cgi?id=13326

vuvova at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vuvova at gmail dot com

--- Comment #1 from vuvova at gmail dot com ---
Same for TYPE_CODE_INTERNAL_FUNCTION:

(gdb) pi a=gdb.parse_and_eval('$_streq')
(gdb) pi print a.type.code == gdb.TYPE_CODE_INTERNAL_FUNCTION
True
(gdb) pi a("1","2")
Python Exception <type 'exceptions.RuntimeError'> Value is not callable (not
TYPE_CODE_FUNC).:

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]