Date: Wed, 29 Dec 1999 10:32:21 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: salvador cc: djgpp AT delorie DOT com Subject: Re: GDB, DOS 6.22, CWSDPMI and Interrupts In-Reply-To: <3869222A.2E0F8669@inti.gov.ar> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 28 Dec 1999, salvador wrote: > I have a big problem using gdb (4.16 or RHIDE with gdb 4.17 or 4.18 inside) > under DOS 6.22 (and CWSDPMI as DPMI host). > The program I'm trying to debug runs ok if I run it outside the debugger. But > if I run the program inside the debugger it just freeze. > After some hard research I found the reason: interrupts are disabled! I have successfully run under GDB 4.18 programs that use setitimer, so interrupts are not disabled in general under a debugger. Also, SIGINT uses the keyboard interrupt, so if your program gets SIGINT when run under a debugger, interrupts are not disabled. What version of the library (libc.a and libdbg.a) was used to compile RHIDE and/or GDB? Are the GDB sources you used up-to-date (i.e., from gdb418s.zip on SimTel)?