Date: Sun, 21 Jul 1996 08:50:43 +0200 (IST) From: Eli Zaretskii To: Raja Vallee-Rai Cc: djgpp AT delorie DOT com Subject: Re: Allegro and debugging. In-Reply-To: <31EE84B0.15074AFC@cs.mcgill.ca> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 18 Jul 1996, Raja Vallee-Rai wrote: > I just tried using gdb to debug a game of mine which I've > recently ported to DJGPP + Allegro. Now, I'm using > Allegro's keyboard handler, and it seems that the debugger > gobbles up all the keystrokes, thus they never get to > the handler. > > Is there any way around this? Anybody have any suggestions? Suggestion: read the FAQ. It explains in section 12.9 that you cannot debug a program that hooks the keyboard interrupt. This is a basic limitation of the current debug support under DJGPP. The latest version of the DJGPP FAQ list is available as v2/faq201b.zip from the same place you get DJGPP.