1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-22 07:37:38 +01:00

Add some more debug statements and fix some typos.

(Logical change 1.103)
This commit is contained in:
hp.com!davidm 2003-09-25 05:08:18 +00:00
parent 350ae98340
commit 1c5c60b8ad

View file

@ -74,7 +74,7 @@ test_setjmp (void)
raise_longjmp (jbuf, 0, i + 1);
fprintf (stderr, "%s: raise_longjmp() returned unexpected\n",
fprintf (stderr, "%s: raise_longjmp() returned unexpectedly\n",
__FUNCTION__);
++nerrors;
}
@ -118,7 +118,7 @@ test_sigsetjmp (void)
raise_siglongjmp (jbuf, 0, i + 1);
fprintf (stderr, "%s: raise_siglongjmp() returned unexpected\n",
fprintf (stderr, "%s: raise_siglongjmp() returned unexpectedly\n",
__FUNCTION__);
++nerrors;
}
@ -131,7 +131,11 @@ sighandler (int signal)
printf ("%s: got signal %d\n", __FUNCTION__, signal);
sigprocmask (SIG_BLOCK, NULL, (sigset_t *) &sigset4);
if (verbose)
printf ("%s: back from sigprocmask\n", __FUNCTION__);
siglongjmp (sigjbuf, 1);
printf ("%s: siglongjmp() returned unexpectedly!\n", __FUNCTION__);
}
int
@ -212,7 +216,7 @@ main (int argc, char **argv)
++nerrors;
}
else if (verbose)
printf ("OK: siglongjmp() leaves signal mask along when asked to\n");
printf ("OK: siglongjmp() leaves signal mask alone when asked to\n");
}
else
{
@ -258,7 +262,7 @@ main (int argc, char **argv)
++nerrors;
}
else if (verbose)
printf ("OK: siglongjmp() leaves signal mask along when asked to\n");
printf ("OK: siglongjmp() leaves signal mask alone when asked to\n");
}
else
{