From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6158 invoked by alias); 31 Oct 2006 22:28:28 -0000 Received: (qmail 6146 invoked by uid 22791); 31 Oct 2006 22:28:27 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 31 Oct 2006 22:28:25 +0000 Received: from HOME-C4E4A596F7 (IGLD-83-130-196-83.inter.net.il [83.130.196.83]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id GDC83415 (AUTH halo1); Wed, 1 Nov 2006 00:28:18 +0200 (IST) Date: Tue, 31 Oct 2006 22:28:00 -0000 Message-Id: From: Eli Zaretskii To: "Mark Kettenis" CC: ghost@cs.msu.su, gdb-patches@sources.redhat.com In-reply-to: <13003.192.87.1.22.1162297781.squirrel@webmail.xs4all.nl> (mark.kettenis@xs4all.nl) Subject: Re: Improve "help all" Reply-to: Eli Zaretskii 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> X-IsSubscribed: yes 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-10/txt/msg00323.txt.bz2 > Date: Tue, 31 Oct 2006 13:29:41 +0100 (CET) > From: "Mark Kettenis" > 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'.)