Re: [RFA] print arrays with indexes

Eli Zaretskii
2005-09-18T20:05:59Z

> Date: Sun, 18 Sep 2005 15:19:43 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Joel Brobecker <brobecker@adacore.com>, gdb-patches@sources.redhat.com
>
> We could do "0 is on, N is threshold, UINT_MAX is off"

Or perhaps -1 is off.

> but in that case, I'd rather give 0 and UINT_MAX names of "on" and
> "off" so that "show" output is more intelligible.

I have no objections for the on and off aliases.

> > that we already have so many different add_command interfaces (and
> > all but 2 of them are undocumented), I'd rather not introduce yet
> > another interface unless we really have to.
>
> Well, then, perhaps this would be a good time for us to document them?
> :-) If Joel doesn't have time, I'll do it.

I'll applaud to whoever does that. TIA