Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » cygwin-gdb / Microsot Compiler
cygwin-gdb / Microsot Compiler [message #55614] Fri, 27 December 2002 11:32 Go to next message
Eclipse UserFriend
Originally posted by: dd.oal.com

Hello,

I'm currently trying to debug a simple C++ program with cygwin-gdb.
But I have compiled the source code with Microsoft CL compiler.

Is it possible to use gdb on such a compiled binary?
If yes, does anybody know what options should by used with CL and LINK?
I have always the same message from gdb: "no debugging symbols found", so it
is not possible for me te set breakpoints in my program.

Thanks!

David Dufour
Re: cygwin-gdb / Microsot Compiler [message #55643 is a reply to message #55614] Sat, 28 December 2002 02:34 Go to previous message
Eclipse UserFriend
David wrote:

> Hello,

> I'm currently trying to debug a simple C++ program with cygwin-gdb.
> But I have compiled the source code with Microsoft CL compiler.

> Is it possible to use gdb on such a compiled binary?
> If yes, does anybody know what options should by used with CL and LINK?

I'm not sure but try option "/Z7". I used something like this:

cl /Z7 /Fo1.obj /c 1.c and so on.... As I remember compiler puts debug
info in .obj file.


> I have always the same message from gdb: "no debugging symbols found", so it
> is not possible for me te set breakpoints in my program.

> Thanks!

> David Dufour

Igor S. Zamyatin
Interstron Ltd.
Previous Topic:Can't build, can't debug...
Next Topic:makefile in cdt
Goto Forum:
  


Current Time: Sun May 11 08:13:56 EDT 2025

Powered by FUDForum. Page generated in 0.03204 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top