Status of PDB support

Jeff Law jeffreyalaw@gmail.com
Tue Mar 25 18:46:31 GMT 2025



On 3/24/25 9:51 PM, Tom Kacvinsky via Gcc wrote:
> Hi,
> 
> I know that PDB support has been worked on in binutils.  I thinkt
> he missing piece is to get GCC to emit CodeView debug information that
> binutils will turn into a PDBm (not sure if the work is complete in
> binutils, either).
> 
> What's the status of this?  I ask because our WIndows offering is
> built with MSVC for C and C++, but a MinGW-w64 built GCC for Ada
> compilation.  Having GCC + binutils generate PDB information would enable
> us to use Visual Studio for one stop debugging.  As it is we have to use
> gdb for Ada code (DWARF debug symbols) and Visual Studio C/C++ debugging
> (because PDB), which is a pain.
gcc-15 will have a fair amount of CodeView support thanks to Mark 
Harmstone.  I don't offhand recall if any of the early work made it into 
gcc-14 or not.  I'm also not at all familiar with gaps in capabilities. 
You could always reach out to Mark to get the most up-to-date status.

Jeff



More information about the Gcc mailing list