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/18779] collection of issues handling C strings in python


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.

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