Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-debug-dev] CDT and Win32 debugging

GDB does not understand PDB symbol information. CLR is even a more 
different animal.

I am currently playing with interfacing the CDT debug framework with the 
win32 dbghelp APIs. This should hopefully get PDB support, whenever it 
gets finished...

Doug Schaefer, IBM's Technical Lead, Eclipse CDT
Ottawa Lab, IBM Canada, Rational Software Division



Edward Slattery <SLATTERY@xxxxxxxxxx> 
Sent by: cdt-debug-dev-admin@xxxxxxxxxxx
01/11/2005 07:52 AM
Please respond to
cdt-debug-dev


To
cdt-debug-dev@xxxxxxxxxxx
cc

Subject
[cdt-debug-dev] CDT and Win32 debugging







Hello, 
I have just started looking at the CDT and trying to debug C++ 
applications. I need some help understanding the current status. 

I have MinGW  installed, so I have GDB. 

I can compile using G++, then debug using GDB, but I foolishly wanted to 
try Microsoft VC6 and VC7. 

I altered the compilation to use cl and link from vc6, but then could not 
find any exe parser for windows other than the PE parser, which I assumed 
was for .NET PEs. 

For VC6, I tried all combinations of having a PDB, or putting the debug 
symols in the exe, using cv style etc, but could find no combination in 
which gdb 
would find the symbols. 

I tried the same with VC7, and build a /CLR executable (here there is no 
option to put the PDB in  the EXE). Again no luck. 

Is there a way of doing this? Is there a parser for pre-.NET executable 
formats, and where should the symbols be? 

If not,  is anyone thinking of using cordbg and interfacing it to the CDT? 


regards, 

Ed Slattery
e-BIT( e-Business Integration Technologies) MP146
IBM Hursley Park, Winchester,  SO21 2JN, England
Telephone: +44 196 2816483 (external) 246483 (internal) 
Email: Edward Slattery/UK/IBM @ IBMGB, slattery@xxxxxxxxxx



Back to the top