This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug symtab/11912] C++ name lookup failes
- From: "andre dot poenitz at nokia dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 17 Aug 2010 10:21:39 -0000
- Subject: [Bug symtab/11912] C++ name lookup failes
- References: <20100813144044.11912.andre.poenitz@nokia.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From andre dot poenitz at nokia dot com 2010-08-17 10:21 -------
(In reply to comment #4)
> [...]
> As a workaround you can use "ptype class Object" to tell the parser that
> you are asking about a type. (I learned this today while looking at the
> docs :-)
Thanks for the workaround. With
type = gdb.parse_and_eval("(class '%s'*)0" % typename).type.target()
it's even usable with python ;-)
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11912
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.