1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2025-01-06 01:23:41 +01:00

Fix in Gtest-dyn1 test

This commit is contained in:
Alexander Esilevich 2010-10-04 21:10:55 +07:00
parent 54d4d893e1
commit aaf2bb259a

View file

@ -134,8 +134,10 @@ sighandler (int signal)
}
while (unw_step (&cursor) > 0);
if (count != 13)
if (count != 12) {
// NOTE: this value depends on stack frame depth in libc before main function
panic ("FAILURE: expected 13, not %d frames below signal frame\n", count);
}
if (verbose)
printf ("SUCCESS\n");