Mail Archives: cygwin/1997/06/17/00:31:59
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 AT cygnus DOT com" with one line of text: "help".
- Raw text -