lists.zerezo.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

***BOGO*** Re: [Mingw-users] Generate PDB files



Karthik Kailash wrote:

> 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?

Only the Microsoft tools use the proprietary PDB format.  The GNU tools
use STABS or DWARF-2 for the debug information.  There is no free
software to either read or write PDB, as far as I know.  Besides, it
wouldn't be of use anyway since debug information is somewhat tied to
the internals of the compiler and it's likely that the Microsoft
debugger would not be able to make sense of gcc's debug data even if gcc
could write it in PDB format -- at least for C++ where the mangling and
ABIs are totally different.

Brian

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users