This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] ignore PYTHONHOME environment variable.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]