[Mono-list] help needed

Serge serge@wildwestsoftware.com
Fri, 23 Nov 2001 20:32:03 +0200


Dietmar,

Check out gcc/libjava sources, I don't have the sources right now so can't
point to the exact location, but something like signals-x86.h
I remember they deal with divide overflow that way (decoding failed
instruction and modifying EIP) to match the Java standard behaviour. There
is FPE stuff as well.

Sergey


----- Original Message -----
From: "Dietmar Maurer" <dietmar@ximian.com>
To: "Mono List" <mono-list@ximian.com>
Sent: Friday, November 23, 2001 6:40 PM
Subject: Re: [Mono-list] help needed


> On Fri, 2001-11-23 at 17:31, Dietmar Maurer wrote:
> > Can someone tell me why the following program ends in an endless loop?
> > How can I avoid that?
>
> One theory is that the handler returns to the same instruction how
> caused the signal, so the same instruction raises the same signal again
> and again?
>
> If so, how can I modify the IP to point to a new location?
>
> - Dietmar
>