From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6120 invoked by alias); 1 Nov 2006 22:50:25 -0000 Received: (qmail 6111 invoked by uid 22791); 1 Nov 2006 22:50:25 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO brahms.sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 01 Nov 2006 22:50:16 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by brahms.sibelius.xs4all.nl (8.13.8/8.13.6) with ESMTP id kA1Mnxba004376; Wed, 1 Nov 2006 23:49:59 +0100 (CET) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.8/8.13.6) with ESMTP id kA1Mnxff003022; Wed, 1 Nov 2006 23:49:59 +0100 (CET) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.8/8.13.8/Submit) id kA1MnxI7011984; Wed, 1 Nov 2006 23:49:59 +0100 (CET) Date: Wed, 01 Nov 2006 22:50:00 -0000 Message-Id: <200611012249.kA1MnxI7011984@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: eliz@gnu.org CC: ghost@cs.msu.su, gdb-patches@sources.redhat.com In-reply-to: (message from Eli Zaretskii on Wed, 01 Nov 2006 22:16:30 +0200) Subject: Re: Improve "help all" References: <200610272340.26372.vladimir@codesourcery.com> <200610281557.57708.vladimir@codesourcery.com> <20061028152928.GA396@nevyn.them.org> <13003.192.87.1.22.1162297781.squirrel@webmail.xs4all.nl> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-11/txt/msg00009.txt.bz2 > Date: Wed, 01 Nov 2006 22:16:30 +0200 > From: Eli Zaretskii > > > From: Vladimir Prus > > Date: Wed, 01 Nov 2006 12:50:55 +0300 > > >> > > > >> > (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. > > My goal was not to minimize output, it was to reach an agreement as to > how to provide the information you thought would be useful in a more > palatable way, in the hope that both you and Mark agree (and no one > else objects). > > Here's another suggestion, maybe people will like it better: > > (gdb) help step > Command: `step'; class: `running'. > Step program until it reaches a different source line. > Argument N means do this N times (or till program stops for another > reason). To be honest, I just think this class information isn't particular useful, and shouldn't be in the online help at all. Mark