Subject: RE: SML-NJ for CygWin32 Bugs/Problems
From: [email-masked] (Sergey Okhapkin)

17 Jun 1997 00:31:59 -0700
Sender: [email-masked]
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Original-To: "[email-masked]" <[email-masked]>,
        "'Gary Fuehrer'"
	 <[email-masked]>
Encoding: 21 TEXT
Original-Sender: [email-masked]

Gary Fuehrer wrote:
> 2.	The signal handling in CygWin32 doesn't let me do the following:
> a.	Get and Set the "eip" register (or any register) of the
> excepting thread.
> b.	Ascertain the kind of floating point exception that occurred.
> The need is for "siginfo_t" and "sigcontext" parameters that can be
> optionally received and modified by signal handlers.  I noticed that
> Sergey Okhapkin seems to have made it possible for a signal handler to
> change the return address (equivalent to setting eip).  This may work
> for me, but I also need to get other registers like "edi" and the state
> of the floating point processor.  It seems like the extra optional
> arguments technique is more traditional and more capable.
> 

What unix analogs do you speak about? Win32 API allows to manipulate processor's registers with Get/SetThreadContext calls.

-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job.

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".