From: sos AT prospect DOT com DOT ru (Sergey Okhapkin) Subject: RE: SML-NJ for CygWin32 Bugs/Problems 17 Jun 1997 00:31:59 -0700 Sender: mail AT cygnus DOT com Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <01BC7B07.DD69B090.cygnus.gnu-win32@gater.krystalbank.msk.ru> Original-To: "gnu-win32 AT cygnus DOT com" , "'Gary Fuehrer'" Encoding: 21 TEXT Original-Sender: owner-gnu-win32 AT cygnus DOT com 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".