How can I set gdb.python directory on Windows?

PcX xunxun1982@gmail.com
Tue Aug 9 13:26:00 GMT 2011


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



More information about the Gdb mailing list