This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/16286] value.string(length = x) broken for common variable length arrays idiom
- From: "dje at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 03 Dec 2013 05:16:52 +0000
- Subject: [Bug python/16286] value.string(length = x) broken for common variable length arrays idiom
- Auto-submitted: auto-generated
- References: <bug-16286-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16286
--- Comment #4 from dje at google dot com ---
If, for example, this code is invoked from a python pretty-printer,
a robust python pretty-printer will error check the length and clip it to
"print elements".
I recognize the problem, but error checking and clipping of the length needs to
be done in python before invoking value.string().
--
You are receiving this mail because:
You are on the CC list for the bug.