writing PDB files

Topics: PDB Writer
May 16, 2009 at 12:25 PM

I've been investigating the PDB file format using the pdb file reader in the CCI with the purpose of eventually writing (managed) pdb files. So far I've been able to write the lowest level "stream" format, the filesystem basically. I found out that Stream 0 is always a constant set of bytes, Stream2 too, Stream 1 contains the name index with an entry for every source file with an additional 3 entries. I can even read the name table (an entry for each file and one with no name). I'm currently stuck at the DBI stream, two sections of it seem to be ignored by the PDB reader but contain data anyway, so my question is, are these sections needed and what do they do and mean?

Section Contribution substream
File Info substream
debug header

Any info on them would be welcome.

Coordinator
May 19, 2009 at 5:41 AM

The PDB file format is pretty much a closed book to me. I'll see if I can find something out by tracing through the code of the unmanaged writer, but it will be a while before I can find the time for that.

May 20, 2009 at 9:14 AM

That would be great, thanks in advance.

Coordinator
May 21, 2009 at 4:38 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.