This is the mail archive of the gdb-patches@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]

Re: Improve "help all"


> 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'.)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]