[doc RFA] Re: [PATCH] Allow user-defined as a category for python gdb macros (resend)

Doug Evans dje@google.com
Wed Feb 29 00:45:00 GMT 2012


On Fri, Feb 24, 2012 at 3:22 PM, Scott Goldman <scottjg@vmware.com> 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  <dje@google.com>

        * 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



More information about the Gdb-patches mailing list