This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: MemoryView missing from Python 2.4 and 2.6
- From: "Wiederhake, Tim" <tim dot wiederhake at intel dot com>
- To: Eli Zaretskii <eliz at gnu dot org>, Yao Qi <qiyaoltc at gmail dot com>
- Cc: "Jose E. Marchesi" <jose dot marchesi at oracle dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 7 Mar 2017 17:18:23 +0000
- Subject: RE: MemoryView missing from Python 2.4 and 2.6
- Authentication-results: sourceware.org; auth=none
- References: <87o9xsx38r.fsf@oracle.com> <20170223225946.snir4ab6twc7vo7n@localhost> <9676A094AF46E14E8265E7A3F4CCE9AF9417D1@irsmsx105.ger.corp.intel.com> <86h93j7evn.fsf@gmail.com> <9676A094AF46E14E8265E7A3F4CCE9AF941DE1@irsmsx105.ger.corp.intel.com> <86y3wmpsng.fsf@gmail.com> <9676A094AF46E14E8265E7A3F4CCE9AF942654@irsmsx105.ger.corp.intel.com> <8637epwf5j.fsf@gmail.com>
Hi all,
Let me recap:
The python bindings I wrote break GDB compilation for Python 2.6 and below.
I wrote a patch: https://sourceware.org/ml/gdb-patches/2017-02/msg00712.html
which I later revised to this: https://sourceware.org/ml/gdb-patches/2017-03/msg00039.html
The revised patch was OK'd to push by Yao: https://sourceware.org/ml/gdb-patches/2017-03/msg00058.html
under the premise that Jose or I confirm that it works with Python 2.6.
Jose confirmed the first version: https://sourceware.org/ml/gdb-patches/2017-02/msg00715.html
As the second version does not change the actual code, I guess that is fine, too.
Joel seems to be fine with the general solution as well: https://sourceware.org/ml/gdb-patches/2017-03/msg00072.html
Do I need Eli's OK for the added line in the documentation?
Otherwise, it'd like to go ahead and push this patch.
Regards,
Tim
> -----Original Message-----
> From: Yao Qi [mailto:qiyaoltc@gmail.com]
> Sent: Tuesday, March 7, 2017 11:33 AM
> To: Wiederhake, Tim <tim.wiederhake@intel.com>
> Cc: Jose E. Marchesi <jose.marchesi@oracle.com>; gdb-
> patches@sourceware.org
> Subject: Re: MemoryView missing from Python 2.4 and 2.6
>
> "Wiederhake, Tim" <tim.wiederhake@intel.com> writes:
>
> > Thanks for the pointer. I've attached a revised version of the patch.
>
> Hi Tim,
> Did you run py-record-btrace.xp with python 2.6? or probably Jose can help
> to run it with python 2.6.
>
> If the test Tim added pass with both python 2.6 and python 3, your patch is
> OK.
>
> --
> Yao (齐尧)
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928