This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]