This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/13326] Need support for C++ method call for a gdb.Value object from within python
- From: "vuvova at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 03 Aug 2017 09:59:48 +0000
- Subject: [Bug python/13326] Need support for C++ method call for a gdb.Value object from within python
- Auto-submitted: auto-generated
- References: <bug-13326-4717@http.sourceware.org/bugzilla/>
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.