diff --git a/test_libucontext.c b/test_libucontext.c index 7831edb..f3ed185 100644 --- a/test_libucontext.c +++ b/test_libucontext.c @@ -56,6 +56,9 @@ int main (int argc, const char *argv[]) { memset(st2, 'B', sizeof st2); + printf("setting up context 1\n"); + + getcontext(&ctx[1]); ctx[1].uc_stack.ss_sp = st1; ctx[1].uc_stack.ss_size = sizeof st1; @@ -63,6 +66,9 @@ int main (int argc, const char *argv[]) { makecontext(&ctx[1], f1, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10); + printf("setting up context 2\n"); + + getcontext(&ctx[2]); ctx[2].uc_stack.ss_sp = st2; ctx[2].uc_stack.ss_size = sizeof st2;