This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA][patch 1/9] Yet another respin of the patch with initial Python support
> From: Thiago Jung Bauermann <bauerman@br.ibm.com>
> Cc: Tom Tromey <tromey@redhat.com>, gdb-patches@sourceware.org
> Date: Wed, 30 Jul 2008 11:58:56 -0300
>
> On Sat, 2008-07-26 at 22:34 +0300, Eli Zaretskii wrote:
> > Bottom line, unless I'm again missing something, we are talking about
> > extending GDB. CLI scripting is also a way of extending GDB, albeit
> > very limited one. So I still think having these two in the same
> > chapter is OK.
>
> It seems to me that the confusion comes from the fact that Python
> scripting support can be viewed by two angles: a much more powerful
> version of the current GDB scripting capability, and a way to develop
> new features and functionality (even eligible to be shipped with GDB
> itself) without having to mess around with GDB internals, by doing them
> completely in Python.
>
> In the first sense, it makes sense to put the Python-related
> documentation in the "Canned Sequence of Commands" chapter. In the
> other, it doesn't because it's something different. And the audience of
> each of those is different.
Sorry, I'm unconvinced. Both features belong to a broader category of
means of extending GDB.