test: add additional verbosity

arm_linker_fix
Ariadne Conill 2020-03-29 12:05:00 +00:00
parent d696a0b692
commit f3a873e6e6
1 changed files with 6 additions and 0 deletions

View File

@ -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;