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: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 11 Dec 2013 15:25:25 +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 #14 from Tom Tromey <tromey at redhat dot com> ---
(In reply to dje from comment #8)
> (In reply to Tom Tromey from comment #7)
> > (In reply to dje from comment #4)
> > I'd rather we not advise users to do this.
> > Instead gdb should do the throttling.
> > lazy_string is intended to help with this problem;
> > also perhaps some other fix is possible in the value printing code.
>
> value.string() can be invoked for any purpose the user chooses, not just
> printing.
I was referring just to the pretty-printing aspect.
In other situations I am more inclined to the GIGO point of view.
--
You are receiving this mail because:
You are on the CC list for the bug.