Re: Improve "help all"

Eli Zaretskii
2006-10-31T22:28:28Z

> Date: Tue, 31 Oct 2006 13:29:41 +0100 (CET)
> From: "Mark Kettenis" <mark.kettenis@xs4all.nl>
> Cc: gdb-patches@sources.redhat.com
> > >
> > > - The help output doesn't mention which class a command is in; this
> > > might be useful, for finding related commands.
> >
> >
> > The attached patch implements it. The output I get is:
> >
> > (gdb) help step
> > Step program until it reaches a different source line.
> > Argument N means do this N times (or till program stops for another
> > reason).
> >
> > Run "help running" for the list of all commands in this class.
> >
> > This patch would require changing "breakpoint" command that already
> > suggests
> > to use "help breakpoints" in its own help string -- I'll do this later if
> > this patch is approved.
>
> I really don't like this.

Me neither. How about this output instead:

(gdb) help step
Step program until it reaches a different source line.
Argument N means do this N times (or till program stops for another reason).
(This command belongs to the class `running'.)