This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
How can I set gdb.python directory on Windows?
- From: PcX <xunxun1982 at gmail dot com>
- To: gdb at sourceware dot org
- Date: Tue, 09 Aug 2011 21:31:49 +0800
- Subject: How can I set gdb.python directory on Windows?
Hi, all
Since gdb harcodes its share directory, but I usually move the gdb
to other directory.
I found that in gdb command:
set data-directory e:\mypack\mingw\share\gdb
I can set gdb's share directory, but I type
python print gdb.PYTHONDIR
and found that the python pretty-printer directory not changed.
Is there some methods to change the gdb python pretty-printer
directory to e:\mypack\mingw\share\gdb\python?
Thanks.
--
Best Regards,
PcX