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.
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
Joel> 2010-05-26 Tom Tromey <tromey@adacore.com>
Joel> Joel Brobecker <brobecker@adacore.com>
Joel> * configure.ac: Add handling of --with-pythondir.
Joel> * configure, config.in: Regenerate.
Joel> * python/python.c (_initialize_python): Add variable "pythondir"
Joel> inside module gdb. Initialize variable gdb.__path__ and execute
Joel> __init__.py if found in subdirectory "gdb" of the pythondir.
FWIW I read it and it seems ok to me.
Thanks for doing this.
Tom