[PATCH] Add support for gdb.PYTHONDIR as $gdb_datadir/python.

Tom Tromey tromey@redhat.com
Thu Jun 24 19:14:00 GMT 2010


>>>>> "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



More information about the Gdb-patches mailing list