This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug python/11797] create a gdb.Type from a string "char[10]"


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]