This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix python compatibility with old versions of GDB
On 13/06/17 13:11, Tom Tromey wrote:
>>>>>> "Simon" == Simon Marchi <simon.marchi@polymtl.ca> writes:
>
>>> Practically the data-directory is mostly backwards-compatible, except
>>> this small part which I found (there might be others which I didn't
>>> find). With this patch, I'm able to run GDB 7.8 with the latest
>>> data-directory.
>
>>> Is there a reason not to accept it?
>
> Simon> I'd like to know what other maintainers think about this. We may have
> Simon> already faced this situation before and taken a decision which I'm not
> Simon> aware of. Otherwise, we need to take it now.
>
> I think it doesn't make sense to have a policy allowing the sharing of
> installed Python scripts across versions. If this were a policy then it
> would mean that the scripts could never use new features of gdb's Python
> layer -- but that's clearly an absurd result.
I agree. It would make maintenance a nightmare, moreso with supporting Python 2 and 3.
Cheers
Phil