From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16820 invoked by alias); 1 Nov 2006 09:51:35 -0000 Received: (qmail 16811 invoked by uid 22791); 1 Nov 2006 09:51:34 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 01 Nov 2006 09:51:32 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GfCkY-0007Je-F6 for gdb-patches@sources.redhat.com; Wed, 01 Nov 2006 10:51:11 +0100 Received: from 73-198.umostel.ru ([82.179.73.198]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Nov 2006 10:51:10 +0100 Received: from ghost by 73-198.umostel.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Nov 2006 10:51:10 +0100 To: gdb-patches@sources.redhat.com From: Vladimir Prus Subject: Re: Improve "help all" Date: Wed, 01 Nov 2006 09:51:00 -0000 Message-ID: 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.10.2 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-11/txt/msg00001.txt.bz2 Eli Zaretskii wrote: >> 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'.) 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