Date: Mon, 11 Jan 1999 09:45:31 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Seawolf cc: djgpp AT delorie DOT com Subject: Re: GDB problem In-Reply-To: <3698E5C0.705749C3@net4you.co.at> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Sun, 10 Jan 1999, Seawolf wrote: > How do I debug programs using the Allegro keyboard handler with the gnu > debugger? You don't :-(. It is a known limitation of the DJGPP debugging support that program which hook hardware interrupts cannot be debugged reliably. See section 12.10 for the full list of features which, if used in a program, defeat its debugging. I'm told that the latest versions of RHIDE have lifted some of these limitations, so you might want to try using RHIDE for that program. (Personally, I have never trusted DOS debuggers for debugging any program that hooks interrupts anyway. Debugging by printf seems to be much more reliable in these cases.) Section 12.2 of the FAQ has some additional info that might help you debug crashes such as the one you are experiencing.