This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC][python] Add support for commands implemented in Python
El vie, 06-02-2009 a las 08:18 +0200, Eli Zaretskii escribiÃ:
> > From: Thiago Jung Bauermann <bauerman@br.ibm.com>
> > Cc: gdb-patches@sourceware.org
> > Date: Thu, 05 Feb 2009 20:40:05 -0200
> >
> > gdb/doc/
> > 2009-02-05 Tom Tromey <tromey@redhat.com>
> >
> > * gdb.texinfo (Python API): Add entry for Commands In Python.
> > (Commands In Python): New node.
>
> Thanks. My only comment to the new text is that perhaps the COMMAND_*
> constants should have followed the respective GDB command classes more
> closely. For example, COMMAND_RUNNING instead of COMMAND_RUN,
> COMMAND_DATA instead of COMMAND_VARS, etc. But that's a minor
> concern, especially if you had a good reason to deviate from the GDB
> interactive nomenclature.
I like your idea, I'm not sure if there was good reason for the
deviation other than that it was already present in the GDB source code
already. Tom, what do you think?
--
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center