Make --stop-after= work again.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@475 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_signals.c b/coregrind/vg_signals.c
index 0081873..3dce4d8 100644
--- a/coregrind/vg_signals.c
+++ b/coregrind/vg_signals.c
@@ -1495,10 +1495,10 @@
          VG_(printf)("restoring handler 0x%x for signal %d\n", 
                      (Addr)(sa.ksa_handler), i );
 
-      /* Get the old host action */
+      /* Set the old host action */
       ret = VG_(ksigaction)(i, &sa, NULL);
-      vg_assert(ret == 0);
-
+      if (i != VKI_SIGKILL && i != VKI_SIGSTOP) 
+         vg_assert(ret == 0);
    }
 
    /* Restore the sig alt stack. */