www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/29/09:53:58

Date: Wed, 29 Dec 1999 10:32:21 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: salvador <salvador AT inti DOT gov DOT ar>
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: <Pine.SUN.3.91.991229102731.11728S-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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)?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019