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"


Eli Zaretskii wrote:

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


So:
        - you changed wording (and I trust you on this)
        - you remove a newline.

I'm not sure I understand the motivation for lumping everything in one text
block, for the sake of saving a single line. But if that's the general
agreement, I can change the patch to produce the above output?

Will it be OK then?

- Volodya





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