From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 810 invoked by alias); 23 Feb 2012 05:13:30 -0000 Received: (qmail 801 invoked by uid 22791); 23 Feb 2012 05:13:28 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-vw0-f41.google.com (HELO mail-vw0-f41.google.com) (209.85.212.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 23 Feb 2012 05:13:15 +0000 Received: by vbip1 with SMTP id p1so748134vbi.0 for ; Wed, 22 Feb 2012 21:13:15 -0800 (PST) Received-SPF: pass (google.com: domain of dje@google.com designates 10.52.65.100 as permitted sender) client-ip=10.52.65.100; Authentication-Results: mr.google.com; spf=pass (google.com: domain of dje@google.com designates 10.52.65.100 as permitted sender) smtp.mail=dje@google.com; dkim=pass header.i=dje@google.com Received: from mr.google.com ([10.52.65.100]) by 10.52.65.100 with SMTP id w4mr175315vds.3.1329973995189 (num_hops = 1); Wed, 22 Feb 2012 21:13:15 -0800 (PST) Received: by 10.52.65.100 with SMTP id w4mr144266vds.3.1329973995106; Wed, 22 Feb 2012 21:13:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.52.65.100 with SMTP id w4mr144253vds.3.1329973994908; Wed, 22 Feb 2012 21:13:14 -0800 (PST) Received: by 10.220.21.4 with HTTP; Wed, 22 Feb 2012 21:13:14 -0800 (PST) In-Reply-To: <03E840D17E263A48A5766AD576E0423A03DAB7AED1@exch-mbx-111.vmware.com> References: <03E840D17E263A48A5766AD576E0423A03D72B653F@exch-mbx-111.vmware.com> <4F3A5820.3080905@redhat.com> <03E840D17E263A48A5766AD576E0423A03D72B6547@exch-mbx-111.vmware.com> <03E840D17E263A48A5766AD576E0423A03DAB7AED1@exch-mbx-111.vmware.com> Date: Thu, 23 Feb 2012 06:03:00 -0000 Message-ID: Subject: Re: [PATCH] Allow user-defined as a category for python gdb macros (resend) From: Doug Evans To: Scott Goldman Cc: Phil Muldoon , "eliz@gnu.org" , "gdb-patches@sourceware.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-Gm-Message-State: ALoCoQnMj95cv2ijKP22WKGm0SbZcI2HkWacQxtEDBbmAjpfA+T37ZQESWJhHY/U1DVaouJh/gKW91DSRRZDcRjkVOHgwrwb0SJJ6WNAkx0Foc0TptnoLmFlDsLz+rLiUAdnaydmPEztTQqSSuS10DDe1e9EEj61AA== X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-02/txt/msg00497.txt.bz2 On Wed, Feb 22, 2012 at 7:02 PM, Scott Goldman wrote: > I amended the documentation as per your suggestion. I also added another = sentence mentioning that the python docstring would be used for python comm= ands. > > [...] > =A0@kindex help user-defined > =A0@item help user-defined > -List all user-defined commands, with the first line of the documentation > -(if any) for each. > +List all user-defined commands and all python commands defined in class = COMAND_USER. For user-defined commands, the first line of the documentation > +(if any) is included. For python commands, the python docstring (if any)= is included. Have you tested this? And is the entire docstring printed or just the first line? [Guessing, I think it'll be just the first line, in which case I'd reword that and just say the first line of the documentation or docstring is included (if any). Or whatever.]