This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Add support for gdb.PYTHONDIR as $gdb_datadir/python.
- From: Tom Tromey <tromey at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 24 Jun 2010 13:14:09 -0600
- Subject: Re: [PATCH] Add support for gdb.PYTHONDIR as $gdb_datadir/python.
- References: <1277403507-29213-1-git-send-email-brobecker@adacore.com>
- Reply-to: tromey at redhat dot com
>>>>> "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