GCC C Compiler producing Microsoft debug format?
tm_gccmail@mail.kloo.net
tm_gccmail@mail.kloo.net
Fri Jun 13 01:21:00 GMT 2003
On Wed, 11 Jun 2003, Daniel Berlin wrote:
>
> It's not feasible.
>
> About a billion years ago (when i was young. I'm old now, 24 and all),
> i added support for codeview/pdb (pdb = a slightly modified codeview
> debug format, though it's getting more divergent over time, obviously)
> to gcc and gdb.
> The documentation is simply not there. It looks like it's kinda there,
> but it's really not. At least, it was nowhere near sufficient back
> then. I could do basics, but not much more.
> It was around the same time i first reverse engineered the MS name
> mangling (which has been done many times by different people since
> then).
>
> MS now has a library that can read the PDB files that they suggest
> using (as of vs.net).
> No source, last i looked (a few months ago).
>
We tried using the same library.
If I remember correctly, it only extracts some of the information out of
the PDB and not all of the information. It can extract something like line
number information, but not type information (my memory is vague and fuzzy
about this though).
Toshi
More information about the Gcc
mailing list