I am cross compiling from linux to windows using the mingw32 tools. I need to generate pdb files for debugging on windows. Is there a way to do this?
this project gives you the ability to generate the pdb, it works in most cases for debuging :
https://github.com/rainers/cv2pdb
more details can help in this post about post mortem debugging
http://blog.morlad.at/blah/mingw_postmortem
GCC/MinGW produces debug info in its own format used by GNU GDB Debugger, there is no support for Microsoft PDB format. So you can:
build application on Windows with MSVC
use Windows version of GNU GDB
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With