Re: [PATCH 2/2] Add gdb_libdir/python- in front of Python search path.

Jan Kratochvil
2010-05-20T21:28:40Z

On Thu, 20 May 2010 20:40:03 +0200, Joel Brobecker wrote:
> +\n\
> +# Put gdb_libdir/python-<version> in the python search path. This allows\n\
> +# us to provide GDB bundled with its own python runtime (the .py/pyc files).\n\
> +sys.path.insert(0, gdb.libdir + \"/python-%d.%d\" % (sys.version_info[0],\n\
> + sys.version_info[1]))\n\

While I do not mind wrt FSF GDB I find this kind of patch as the schoolbook
example of a distro patch nobody expects to be accepted upstream.

I could push the same way patch for using gcc44 for specific testcases
requiring newer gcc, workaround of Red Hat specific kernel incompatibility or
workaround of upstream ccache bug which you voted for not including in FSF GDB
http://sourceware.org/ml/gdb-patches/2009-03/msg00026.html

Regards,
Jan