tags:

views:

100

answers:

2

Is there a standardized program database? I looked into the MAP file that the linker generates but it does not contain nearly enough information that I need. And I rather not use PDB because it is not officially documented and it is only for visual studio.

+2  A: 

I suggest you have a look at the google-crashpad project. They seem to have common a symbol file format and corresponding tool to generate these files from platform specific symbol file formats.

AFAIK, Firefox project uses this library on the client side for crash reporting and on the server side, they employ this symbol file format for stack traces for the crash reports.

paracycle
+1, looks interesting.
Georg Fritzsche
A: 

I found http://msdn.microsoft.com/en-us/library/aa260783%28VS.60%29.aspx which shows 3 ways you can build it. Coff, cv or pdb. Coff is the only one that is not a microsoft format. Anyone know how to use it?

They say "/DEBUGTYPE:COFF" but I get "Error 3 fatal error LNK1117: syntax error in option 'DEBUGTYPE:COFF'"

Strangely, /DEBUGTYPE:CV works. But again, CV is a microsoft format.

Also after building with COFF, How do you access the information?