This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/11797] create a gdb.Type from a string "char[10]"
- From: "meadori at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 05 Jan 2012 19:07:20 +0000
- Subject: [Bug python/11797] create a gdb.Type from a string "char[10]"
- Auto-submitted: auto-generated
- References: <bug-11797-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=11797
Meador Inge <meadori at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |meadori at gmail dot com
--- Comment #1 from Meador Inge <meadori at gmail dot com> 2012-01-05 19:07:20 UTC ---
Use the 'array' method on the constructed gdb.Type instance:
(gdb) py print(gdb.lookup_type('char').array(9))
char [10]
--
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.