[RFC/RFA] print arrays with indexes
Jim Blandy
jimb@redhat.com
Tue Sep 6 21:45:00 GMT 2005
Joel Brobecker <brobecker@adacore.com> writes:
> So, the suggestion is to have the feature being controled by a set/show
> command; I suggest:
>
> (gdb) set/show print array-indexes
>
> With a default of "off", to preserve the current behavior.
How about a size threshold, below which the indexes would be omitted?
It could default to whatever size it becomes hard to see by hand ---
seven or ten or so.
More information about the Gdb-patches
mailing list