Problem using gdb with Microsoft .exe

Geoffrey Noer
Tue Sep 29 21:47:00 GMT 1998

On Tue, Sep 29, 1998 at 01:45:58PM -0000, David Calabrese wrote:
> I'm trying to debug a program that was built using the Microsoft C++
> compiler.  I built the exe to include debug info.  
> Is it possible to use gdb to debug this program?

No it isn't, the debugging info that gcc emits is different from what
VC++ does.  As a result, gdb does the best it can, which isn't a lot.

I know this isn't desirable; I'd certainly like complete VC++/gcc
compatibility but there are quite a few reasons why this isn't there
yet and isn't likely to happen soon.  One of the reasons is that,
as far as I know, documentation about the MS debugging format used by
VC++ isn't available.  :-(

Geoffrey Noer
For help on using this list (especially unsubscribing), send a message to
"" with one line of text: "help".

More information about the Cygwin mailing list