]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add comments from PaulM.
authorJulian Seward <jseward@acm.org>
Sat, 9 Jul 2005 10:43:45 +0000 (10:43 +0000)
committerJulian Seward <jseward@acm.org>
Sat, 9 Jul 2005 10:43:45 +0000 (10:43 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4140

coregrind/m_signals.c

index 2c1a04e8a0c23bf2d30b224baed1e43fcc634c7b..edcdbdb44a3c35f49c9e4bb4a07dde2c62f949a2 100644 (file)
@@ -449,6 +449,11 @@ static void handle_SCSS_change ( Bool force_update )
 #     if !defined(VGP_ppc32_linux)
       ksa.sa_restorer = 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.
+      */
 
       /* block all signals in handler */
       VG_(sigfillset)( &ksa.sa_mask );