|
From: <sv...@va...> - 2005-07-09 10:43:49
|
Author: sewardj
Date: 2005-07-09 11:43:45 +0100 (Sat, 09 Jul 2005)
New Revision: 4140
Log:
Add comments from PaulM.
Modified:
trunk/coregrind/m_signals.c
Modified: trunk/coregrind/m_signals.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_signals.c 2005-07-09 10:36:25 UTC (rev 4139)
+++ trunk/coregrind/m_signals.c 2005-07-09 10:43:45 UTC (rev 4140)
@@ -449,6 +449,11 @@
# if !defined(VGP_ppc32_linux)
ksa.sa_restorer =3D my_sigreturn;
# endif
+ /* Re above ifdef (also the assertion below), PaulM says:
+ The sa_restorer field is not used at all on ppc. Glibc
+ converts the sigaction you give it into a kernel sigaction,
+ but it doesn't put anything in the sa_restorer field.
+ */
=20
/* block all signals in handler */
VG_(sigfillset)( &ksa.sa_mask );
|