From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31754 invoked by alias); 28 Feb 2012 23:27:48 -0000 Received: (qmail 31746 invoked by uid 22791); 28 Feb 2012 23:27:47 -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; Tue, 28 Feb 2012 23:27:34 +0000 Received: by vbbey12 with SMTP id ey12so2391268vbb.0 for ; Tue, 28 Feb 2012 15:27:33 -0800 (PST) Received-SPF: pass (google.com: domain of dje@google.com designates 10.52.93.77 as permitted sender) client-ip=10.52.93.77; Authentication-Results: mr.google.com; spf=pass (google.com: domain of dje@google.com designates 10.52.93.77 as permitted sender) smtp.mail=dje@google.com; dkim=pass header.i=dje@google.com Received: from mr.google.com ([10.52.93.77]) by 10.52.93.77 with SMTP id cs13mr15308971vdb.71.1330471653689 (num_hops = 1); Tue, 28 Feb 2012 15:27:33 -0800 (PST) Received: by 10.52.93.77 with SMTP id cs13mr12663724vdb.71.1330471653643; Tue, 28 Feb 2012 15:27:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.52.93.77 with SMTP id cs13mr12663712vdb.71.1330471653420; Tue, 28 Feb 2012 15:27:33 -0800 (PST) Received: by 10.220.21.4 with HTTP; Tue, 28 Feb 2012 15:27:33 -0800 (PST) In-Reply-To: <03E840D17E263A48A5766AD576E0423A03DAB7B84A@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> <03E840D17E263A48A5766AD576E0423A03D72B6554@exch-mbx-111.vmware.com> <03E840D17E263A48A5766AD576E0423A03D72B6555@exch-mbx-111.vmware.com> <03E840D17E263A48A5766AD576E0423A03DAB7B84A@exch-mbx-111.vmware.com> Date: Wed, 29 Feb 2012 00:45:00 -0000 Message-ID: Subject: [doc RFA] Re: [PATCH] Allow user-defined as a category for python gdb macros (resend) From: Doug Evans To: Scott Goldman , Eli Zaretskii Cc: "gdb-patches@sourceware.org" , Phil Muldoon Content-Type: text/plain; charset=ISO-8859-1 X-System-Of-Record: true X-Gm-Message-State: ALoCoQmn6fA3MbQDHZJkQf80jlrCOMXu9MN4HArOant1hE0BVcJDovPxx1KFmO8aIJqUUm4zsSMo+SDBHBSrfQHvmIKEQeRo1dIEZdApvpsx8cTXW4zsmMaoqx43GnzACz5/Kf76LHVLAyobR/V6g1YmjTsAoLDt0A== 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/msg00685.txt.bz2 On Fri, Feb 24, 2012 at 3:22 PM, Scott Goldman wrote: > Ping. > > I think all the reviewers (Phil, Doug, Eli) were ok with this most recent revision based on the comments. I would be happy to do further cleanup if necessary. Otherwise, could this committed whenever someone gets a chance? Hi. I was about to check this in (after fixing a few whitespace issues), and noticed a missing bit of doc. Eli, ok to check in? 2012-02-28 Doug Evans * NEWS: Mention new python command class gdb.COMMAND_USER. doc/ * gdb.texinfo (Commands In Python): Document gdb.COMMAND_USER. Index: NEWS =================================================================== RCS file: /cvs/src/src/gdb/NEWS,v retrieving revision 1.490 diff -u -p -r1.490 NEWS --- NEWS 24 Feb 2012 15:04:58 -0000 1.490 +++ NEWS 28 Feb 2012 23:24:59 -0000 @@ -5,6 +5,9 @@ * Python scripting + ** GDB commands implemented in Python can now be put in command class + "gdb.COMMAND_USER". + ** The "maint set python print-stack on|off" is now deleted. ** A new class, gdb.printing.FlagEnumerationPrinter, can be used to Index: doc/gdb.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.926 diff -u -p -r1.926 gdb.texinfo --- doc/gdb.texinfo 25 Feb 2012 13:54:25 -0000 1.926 +++ doc/gdb.texinfo 28 Feb 2012 23:25:01 -0000 @@ -23330,6 +23333,15 @@ The command has to do with tracepoints. @kbd{help tracepoints} at the @value{GDBN} prompt to see a list of commands in this category. +@findex COMMAND_USER +@findex gdb.COMMAND_USER +@item gdb.COMMAND_USER +The command is a general purpose command for the user, and typically +does not fit in one of the other categories. +Type @kbd{help user-defined} at the @value{GDBN} prompt to see +a list of commands in this category, as well as the list of gdb macros +(@pxref{Sequences}). + @findex COMMAND_OBSCURE @findex gdb.COMMAND_OBSCURE @item gdb.COMMAND_OBSCURE