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/16286] value.string(length = x) broken for common variable length arrays idiom


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

--- Comment #5 from dje at google dot com ---
OTOH, I'm not opposed to some kind of safety valve.

set python max-value-fetch 10000

or some such?
[And then have py-value.c apply this limit.]

One might wish to use "print elements" here but value.string can be called from
anywhere, not just pretty-printers.

-- 
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]