[Bug python/18779] collection of issues handling C strings in python

simon.marchi at ericsson dot com sourceware-bugzilla@sourceware.org
Thu Mar 16 17:38:00 GMT 2017


https://sourceware.org/bugzilla/show_bug.cgi?id=18779

--- Comment #4 from Simon Marchi <simon.marchi at ericsson dot com> ---
I tested quickly, it looks good, awesome! Thanks!

>>> s
<gdb.LazyString object at 0x7f0e3a3eba60>
>>> print(s.value().type)
char [8]
>>> print(s.value())
"lalalala"

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list