www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/22/03:31:08

Date: Sun, 22 Dec 1996 10:09:52 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De>
cc: djgpp AT delorie DOT com
Subject: Re: Rhide 1.0 & Exceptions
In-Reply-To: <32B00400.15FB@LSTM.Ruhr-UNI-Bochum.De>
Message-ID: <Pine.SUN.3.91.961222100735.29376a-100000@is>
MIME-Version: 1.0

On Thu, 12 Dec 1996, Thomas Demmer wrote:

> When I start the program from the commandline
> it dies with a SIGFPE, as expected. Within
> RHIDE, two different scenarios show up:
> Single stepping over the guilty line (F7/F8) 
> kills the program _and_ RHIDE with the SIGFPE. 
> Trying to get beyond the line with F4 or simply
> running it with ^F9 complety locks up my machine 
> and I have to hard reset it. 

The DJGPP debug support doesn't work with signals, because the signals 
get to the debugger instead of the debuggee.  Is there any reason that it 
should be different with your program?

I'd suggest to set the x87 so that it doesn't generate FP exceptions.  
then you could at least debug the program.

- Raw text -


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