Document fact that mininum Python version is now 2.6
Commit Message
gdb/ChangeLog:
* NEWS: Note minimum Python version.
gdb/doc/ChangeLog:
* gdb.texinfo (Configure Options): Document minimum python
version.
Comments
> Date: Tue, 26 Feb 2019 10:45:33 -0700
> From: Kevin Buettner <kevinb@redhat.com>
> Cc: Eli Zaretskii <eliz@gnu.org>
>
> gdb/ChangeLog:
>
> * NEWS: Note minimum Python version.
>
> gdb/doc/ChangeLog:
>
> * gdb.texinfo (Configure Options): Document minimum python
> version.
Thanks, this is OK.
On Tue, 26 Feb 2019 20:29:07 +0200
Eli Zaretskii <eliz@gnu.org> wrote:
> > Date: Tue, 26 Feb 2019 10:45:33 -0700
> > From: Kevin Buettner <kevinb@redhat.com>
> > Cc: Eli Zaretskii <eliz@gnu.org>
> >
> > gdb/ChangeLog:
> >
> > * NEWS: Note minimum Python version.
> >
> > gdb/doc/ChangeLog:
> >
> > * gdb.texinfo (Configure Options): Document minimum python
> > version.
>
> Thanks, this is OK.
Thanks for the review.
I've pushed this change.
Kevin
On Wed, 27 Feb 2019 11:18:09 -0700
Kevin Buettner <kevinb@redhat.com> wrote:
> > > gdb/ChangeLog:
> > >
> > > * NEWS: Note minimum Python version.
> > >
> > > gdb/doc/ChangeLog:
> > >
> > > * gdb.texinfo (Configure Options): Document minimum python
> > > version.
> >
> > Thanks, this is OK.
>
> Thanks for the review.
>
> I've pushed this change.
I realized that, in conjunction with Joel's changes to the NEWS file,
this push now says that gdb-8.3 no longer supports Python versions
less than 2.6. This is technically true due to the commit of the
two argument version of gdb.Value that I pushed yesterday.
(That commit uses the PEP 3118 buffer protocol which is only
supported in Python versions 2.6 and up.)
So...
I've pushed this documentation commit to gdb-8.3-branch also.
I won't push "Use Python 2.[67] / 3.X / PEP 3118 buffer protocol"
to the gdb-8.3-branch unless someone asks for it though.
Kevin
@@ -188,6 +188,8 @@ FreeBSD/riscv riscv*-*-freebsd*
* Python API
+ ** GDB no longer supports Python versions less than 2.6.
+
** The gdb.Inferior type has a new 'progspace' property, which is the program
space associated to that inferior.
@@ -35975,7 +35975,7 @@ libpython is present and found at configure time.) Python makes
@value{GDBN} scripting much more powerful than the restricted CLI
scripting language. If your host does not have Python installed, you
can find it on `http://www.python.org/download/'. The oldest version
-of Python supported by GDB is 2.4. The optional argument @var{python}
+of Python supported by GDB is 2.6. The optional argument @var{python}
is used to find the Python headers and libraries. It can be either
the name of a Python executable, or the name of the directory in which
Python is installed.