This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: SML-NJ for CygWin32 Bugs/Problems
- To: "gnu-win32 at cygnus dot com" <gnu-win32 at cygnus dot com>, "'Gary Fuehrer'" <Fuehrer at seabase dot com>
- Subject: RE: SML-NJ for CygWin32 Bugs/Problems
- From: Sergey Okhapkin <sos at prospect dot com dot ru>
- Date: Tue, 17 Jun 1997 10:18:55 +0400
- Encoding: 21 TEXT
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
"gnu-win32-request@cygnus.com" with one line of text: "help".