This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
GDB 7.2 + python: how to get members of anonymous structure?
- From: "Gopakumar C.E" <gopakumar_ce at yahoo dot com>
- To: gdb at sourceware dot org
- Date: Wed, 5 Jun 2013 17:41:33 -0700 (PDT)
- Subject: GDB 7.2 + python: how to get members of anonymous structure?
GDB 7.2 python doesn't have gdb.Type.iteritems method. Anyway I can access the members of the anonymous structure (which is within another structure of course) from gdb 7.2 ? The assumption is that I dont know know the name of the members of the anonymous structure or else I could have done gdb.parse_and_eval on them.
Rgds,
Gopa.