I’m trying to write an SDL program under windows. I’m compiling with MinGW
3.2, I’m using the version of GDB that comes with MinGW 3.2 and SDL 1.6.
When I run my program though GDB it just freezes when it gets to the
SDL_Init(SDL_INIT_VIDEO) line. This doesn’t happen when it’s not running
though GDB so I’m guessing SDL and GDB are conflicting somehow. Anyone got
any ideas on how I can get GDB to work properly with SDL?
Greg Chadwick wrote:
I’m trying to write an SDL program under windows. I’m compiling with
MinGW 3.2, I’m using the version of GDB that comes with MinGW 3.2 and
SDL 1.6. When I run my program though GDB it just freezes when it
gets to the SDL_Init(SDL_INIT_VIDEO) line. This doesn’t happen when
it’s not running though GDB so I’m guessing SDL and GDB are
conflicting somehow. Anyone got any ideas on how I can get GDB to
work properly with SDL?
Did you try with SDL_Init(SDL_INIT_VIDEO|SDL_INIT_NOPARACHUTE); ?
Stephane
Thanks it works fine now :)> Greg Chadwick wrote:
I’m trying to write an SDL program under windows. I’m compiling with
MinGW 3.2, I’m using the version of GDB that comes with MinGW 3.2 and
SDL 1.6. When I run my program though GDB it just freezes when it
gets to the SDL_Init(SDL_INIT_VIDEO) line. This doesn’t happen when
it’s not running though GDB so I’m guessing SDL and GDB are
conflicting somehow. Anyone got any ideas on how I can get GDB to
work properly with SDL?Did you try with SDL_Init(SDL_INIT_VIDEO|SDL_INIT_NOPARACHUTE); ?
Stephane
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl