This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] ignore PYTHONHOME environment variable.
- From: Doug Evans <dje at google dot com>
- To: Joel Brobecker <brobecker at adacore dot com>, Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 14 Jan 2011 23:55:59 -0800
- Subject: Re: [RFA] ignore PYTHONHOME environment variable.
- References: <1290474202-885-1-git-send-email-brobecker@adacore.com> <20101123030037.GA19962@host0.dyn.jankratochvil.net> <AANLkTiko2FVL+ktF9JTBRedYz_wvsq_eP4rU3rLcOYmF@mail.gmail.com> <20101123163045.GA1737@host0.dyn.jankratochvil.net> <AANLkTi=W+PnwOfNkRRe5OMz0qm5vCghhduO5ve1Qk3zH@mail.gmail.com> <20101123173054.GW2634@adacore.com> <20101214071210.GQ2596@adacore.com> <20101214092645.GA20415@host0.dyn.jankratochvil.net> <20101214103305.GU2596@adacore.com> <20110113205504.GL2504@adacore.com>
On Thu, Jan 13, 2011 at 12:55 PM, Joel Brobecker <brobecker@adacore.com> wrote:
> Given the lack of support and the resistance from Jan, this patch is
> withdrawn. (I think that's a mistake! :-P)
fwiw, I like GDB_PYTHONHOME. I'd rather not punt on this.
I'm not sure I completely understand the objections to something like
the following:
if GDB_PYTHONHOME provided
use it
elseif PYTHONHOME provided
use it
else
use default
endif
That way a user can provide a PYTHONHOME and gdb will use it. But if
it is incompatible with the python that gdb is using, they can still
have PYTHONHOME - they just need to set GDB_PYTHONHOME too.