This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/13380] value.cast(value.type.strip_typedefs()) does notwork for array typedefs
- From: "andre.poenitz at nokia dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 03 Nov 2011 18:12:59 +0000
- Subject: [Bug python/13380] value.cast(value.type.strip_typedefs()) does notwork for array typedefs
- Auto-submitted: auto-generated
- References: <bug-13380-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13380
--- Comment #1 from Andre Poenitz <andre.poenitz at nokia dot com> 2011-11-03 18:12:59 UTC ---
As workaround:
python print gdb.parse_and_eval("{%s}%s" % (f.type.strip_typedefs(),
produces the expected
~"\"foo\", '\\000' <repeats 16 times>\n"
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.