GDB for Win32?

I know this isn’t directly SDL related, but involves debugging SDL apps, so
I figured I’d ask here. Is there a version of GDB compiled (or that will
compile) using mingw32, or possibly using the cygwin DLL that will debug
mingw32 apps? I did some searching and found an old version for Win32, but
it didn’t work. Or if there’s no GDB, anything that will give me a
backtrace after an SDL app crashes on Win32? It kind of sucks when it works
on Linux and not on Win32, since on Linux I have a working debugger :frowning:

Since I’m using gcc and cross compiling, I can’t use VC++'s debugger.

Thanks,–
David Phillips <@David_Phillips>
http://david.acz.org/

Well, I did use one way back when I was still using Windows NT with mingw32
as a substitute for a real development system ;-), so I’m pretty sure it
exists. I think I got it from the same place where I downloaded the compiler
and the mingW32+cygwin stuff…

I’m afraid I don’t have any URLs left, though. :frowning:

//David

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------> http://www.linuxaudiodev.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |--------------------------------------> david at linuxdj.com -'On Wednesday 14 February 2001 20:52, David Phillips wrote:

I know this isn’t directly SDL related, but involves debugging SDL apps, so
I figured I’d ask here. Is there a version of GDB compiled (or that will
compile) using mingw32, or possibly using the cygwin DLL that will debug
mingw32 apps?

Hi David. While I had the same problem, I found the bloodshed dev-c++ ide on
the internet. It is totally free and uses the mingw32 compiler or, if you
like it more the cygwin (so you have no problems with cross compiling). If
you want to debug, you will find a link to a debugger for mingw32 on their
homepage (don’t remember where, while I don’t use a debugger yet).

The homepage is :
http://www.bloodshed.net

I think it is somewhere on the “new release” page.

greets

Sascha

-----Urspr?ngliche Nachricht-----Von: owner-sdl at lokigames.com [mailto:owner-sdl at lokigames.com]Im Auftrag
von David Phillips
Gesendet: Mittwoch, 14. Februar 2001 20:52
An: sdl at lokigames.com
Betreff: [SDL] GDB for Win32?

I know this isn’t directly SDL related, but involves debugging SDL apps, so
I figured I’d ask here. Is there a version of GDB compiled (or that will
compile) using mingw32, or possibly using the cygwin DLL that will debug
mingw32 apps? I did some searching and found an old version for Win32, but
it didn’t work. Or if there’s no GDB, anything that will give me a
backtrace after an SDL app crashes on Win32? It kind of sucks when it works
on Linux and not on Win32, since on Linux I have a working debugger :frowning:

Since I’m using gcc and cross compiling, I can’t use VC++'s debugger.

Thanks,


David Phillips
http://david.acz.org/

David Phillips wrote:

I know this isn’t directly SDL related, but involves debugging SDL apps, so
I figured I’d ask here. Is there a version of GDB compiled (or that will
compile) using mingw32, or possibly using the cygwin DLL that will debug
mingw32 apps? I did some searching and found an old version for Win32, but
it didn’t work. Or if there’s no GDB, anything that will give me a
backtrace after an SDL app crashes on Win32? It kind of sucks when it works
on Linux and not on Win32, since on Linux I have a working debugger :frowning:

Since I’m using gcc and cross compiling, I can’t use VC++'s debugger.

You should be using the GDB that came with the GCC you’re using. In
any case, the original source of the tools is Red Hat’s Cygwin project;
noodle around http://sources.redhat.com/cygwin/ to get more info and
links.

Stan