This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: SML-NJ for CygWin32 Bugs/Problems


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]