This is the mail archive of the
mailing list for the GDB project.
Re: Building GDB 7.3.92 with MinGW
> Date: Fri, 13 Jan 2012 22:13:52 +0800
> From: asmwarrior <email@example.com>
> CC: Joel Brobecker <firstname.lastname@example.org>, email@example.com,
> a, suppose you have gdb install or copied in some folder:
> c:/path_to_mingw/share/gdb/python/gdb (this folder contains some python script like:printing.py....)
> b, run the gdb.exe.
> b1, you can type:
> python print gdb.PYTHONDIR
> It should return the windows path: c:/path_to_mingw/share/gdb/python
Works for me.
> b2, you can continue type:
> info pretty-printer
> Then, gdb will report all the pretty-printers installed. If you encountered some error message like:
> Undefined info command: "pretty-printer". Try "help info".
> This means gdb's own python script does not loaded correctly when gdb startup, this is because gdb can't find the path:
What does it mean if "info pretty-printer" doesn't display anything,
but doesn't show any error messages, either?