This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/python:1/2] Add support for --with-pythondir.
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Doug Evans <dje at google dot com>
- Cc: tromey at redhat dot com, gdb-patches at sourceware dot org
- Date: Tue, 1 Jun 2010 13:15:37 -0700
- Subject: Re: [RFA/python:1/2] Add support for --with-pythondir.
- References: <1274918921-23200-1-git-send-email-brobecker@adacore.com> <1274918921-23200-2-git-send-email-brobecker@adacore.com> <m3eigxf6hf.fsf@fleche.redhat.com> <AANLkTimLm7I7k5J-emVPuysb0qgyiq8WOXfpUhylTSb8@mail.gmail.com> <20100528160818.GN3019@adacore.com> <AANLkTine_XZInXMTsR5mPzibXuxbnwh5MDRP8pF7GuZB@mail.gmail.com>
> I do think that we should allow for the possibility of having gdb
> python modules implemented as .so's.
Sure. The easiest seems to add support for that on top of what's
currently been proposed when the need arises. AFAICT, It looks like
all we have to do to make it work is add the lib-dynload directory
to the sys.path.
> For reference sake, --with-python-prefix is a worse name now.
> Setting aside --with-python=yes, the preferred parameter is the name
> or path of the python binary. We fetch the needed parameters via
> distutils of that binary. [Setting aside cross-compilation.]
Hmmm, yes, that's right.
Let us know if you still have some concerns...
--
Joel