This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Use Python 2.[67] / 3.X / PEP 3118 buffer protocol
- From: Kevin Buettner <kevinb at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 27 Feb 2019 11:17:37 -0700
- Subject: Re: [PATCH] Use Python 2.[67] / 3.X / PEP 3118 buffer protocol
- References: <20190219145110.03bccce6@f29-4.lan>
On Tue, 19 Feb 2019 14:51:10 -0700
Kevin Buettner <kevinb@redhat.com> wrote:
> gdb/ChangeLog:
>
> * python/py-inferior.c (infpy_write_memory): Remove non-IS_PY3K
> code from these functions. Remove corresponding ifdefs. Use
> Py_buffer_up instead of explicit calls to PyBuffer_Release.
> Remove gotos and target of gotos.
> (infpy_search_memory): Likewise.
Pushed.
Kevin