How can I set gdb.python directory on Windows?

PcX
2011-08-09T13:26:22Z

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