Mail Archives: djgpp/1999/12/29/09:53:58
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 -