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: [PATCH] Add support for gdb.PYTHONDIR as $gdb_datadir/python.


>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

Joel> 2010-06-24  Joel Brobecker  <brobecker@adacore.com>
Joel>         * python/python.c (_initialize_python): Add new "constant"
Joel>         PYTHONDIR in gdb module.  Insert this path at the head of
Joel>         sys.path. Set gdb.__path__ to gdb.PYTHONDIR + '/gdb' and
Joel>         exec its __init__.py script if it exists in that directory.

This is fine with me.

Tom


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