Hi,
similiar to
[patch] tests/: libunwind sanity checks
during PPC port development the library had too invalid results causing
the testsuite to lock up. It should safely FAIL instead.
As there are no automatic testsuite timeouts various limitations have
been implemented into the each specific testcase.
but applied for `tests/Gtest-resume-sig.c' on top of the other patches.
2007-04-04 Jan Kratochvil <[EMAIL PROTECTED]>
* tests/Gtest-resume-sig.c: Fixed lockups on broken libunwind (as ppc64
is).
--- ./tests/Gtest-resume-sig.c 12 Mar 2007 15:26:11 -0000 1.4
+++ ./tests/Gtest-resume-sig.c 4 Apr 2007 20:41:08 -0000 1.5
@@ -109,6 +109,12 @@ handler (int sig)
{
char buf[512];
+ if (stepno > 100)
+ {
+ panic ("Too many steps (%d)\n", stepno);
+ break;
+ }
+
if ((ret = unw_get_proc_name (&c, buf, sizeof (buf), NULL)) < 0)
panic ("unw_get_proc_name(%d) failed: ret=%d\n", stepno, ret);
else
_______________________________________________
Libunwind-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/libunwind-devel