Re: [PATCH] Fix python compatibility with old versions of GDB

Eli Zaretskii
2017-06-13T19:33:51Z

> From: Tom Tromey <tom@tromey.com>
> Cc: Simon Marchi <simon.marchi@polymtl.ca>, Eli Zaretskii <eliz@gnu.org>, Tom Tromey <tom@tromey.com>, orgads@gmail.com, "gdb-patches\@sourceware.org" <gdb-patches@sourceware.org>
> Date: Tue, 13 Jun 2017 12:41:14 -0600
>
> Matt> Is there any argument against appending version to the data-directory
> Matt> by default?
>
> Matt> e.g. gcc configures /usr/lib/gcc/triplet/version? I see a number of
> Matt> /usr/share/*/[0-9]\.* directories here.
>
> It's not harmful to do this, but it's also incomplete, because there's
> also the manual and the executable to consider.

The executable can be easily renamed, and there's no need to keep old
manuals, since the new one is mostly backward compatible (we rarely
make changes that change documented behavior).