|
From: John R.
|
On x86, what is the status of getting FPU and SSE register state saved into (and restored from) the signal context, so that a signal handler can inspect and modify the values of FPU and SSE registers? A recent coregrind/m_sigframe/sigframe-x86-linux.c says: FIXME: sigcontexting is basically broken for the moment. When delivering a signal, the integer registers and %eflags are correctly written into the sigcontext, however the FP and SSE state is not. When returning from a signal, only the integer registers are restored from the sigcontext; the rest of the CPU state is restored to what it was before the signal. This will be fixed. -- |