Anil
Anil

Reputation: 21

Debugging Intel C++ compiled code with GDB

I was trying to debug C++ code which I compiled with Intel C++. I tried very small Test Program. I compiled with "/Zi" option, I see that *.pdb files is generated but gdb does not show any debug symbol. Even I am not able to break at main() function.

In the forum people mentioned about "idb" debugger for intel. But I do not find it in my Installation area. I have Intel composer edition on one machine and Professional Addition on other. Both places I do not find "idb".

Could anyone suggest any method using which I could debug the code which is compiled with Intel C++.

Upvotes: 0

Views: 498

Answers (1)

Employed Russian
Employed Russian

Reputation: 213385

I see that *.pdb files is generated but gdb does not show any debug symbol.

Until very recently, the PDB format was completely undocumented and proprietary.

GDB never supported it, and is somewhat unlikely to do that in the future (most GDB developers aren't interested in Windows, and most Windows developers aren't interested in GDB).

Could anyone suggest any method using which I could debug the code which is compiled with Intel C++.

If Intel did a good job of emitting the PDB info, you should be able to use the standard Windows debuggers: VisualStudio or windbg.

Upvotes: 1

Related Questions