This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] info break/watch/trace use get_number_or_range, take two
On Tuesday 22 February 2011 18:32:42, Michael Snyder wrote:
> >> 2011-02-21 Michael Snyder <msnyder@vmware.com>
> >>
> >> * gdb.texinfo (Set Breaks): Add @dots{} to arguments of info break.
> >> (Set Watchpoints): Add @dots{} to argument of info watchpoints.
> >> (Listing Tracepoints): Add @dots{} to argument of info tracepoints.
> >
> > This part is okay, but didn't we decide to add an explanation of
> > ranges, as in "24-42"?
>
> I think so, although I see that discussion as unfinished.
> The question is, where to put it and how to refer to it?
It's on my queue to document the "disable display" change.
Of course, if someone wants to do that for me, I certainly
don't mind.
"thread apply" has blurb mentioning ranges like that:
It can be a single thread number, one of the numbers
shown in the first field of the @samp{info threads} display; or it
could be a range of thread numbers, as in @code{2-4}.
That looks pretty clear to me. I was thinking on borrowing it.
Or were you thinking of something more detailed?
--
Pedro Alves