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
>>>>> "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.
For the particular patch in question, it seems to me it would at least
need a comment to be accepted. Otherwise the point of the additional
test is obscure.
Tom