Using Py_SetPythonHome

Joel Brobecker brobecker@adacore.com
Fri Sep 21 15:37:00 GMT 2012


> For the bundled uninstalled pack of files I find OK to use Py_SetPythonHome
> although only in the case $PYTHONHOME is not set.  If $PYTHONHOME is set then
> GDB should not override it.  This override is what was decided in:
> 	http://bugs.python.org/issue14956#msg161959

FWIW, I read the discussion, and I find it inconclusive in the sense
that they seem to lean towards letting each application decide for
themselves what to do. Certainly, I am still in favor of the proposed
patch, but IIRC, this is causing problems for you (?). This is why
I dropped its inclusion in the FSF tree.

-- 
Joel



More information about the Gdb mailing list