This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/2] Add gdb_libdir/python-<version> in front of Python search path.
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