This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: MemoryView missing from Python 2.4 and 2.6


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]