···152152 darling_sigexc_self();
153153154154 // Stop on attach
155155- sigexc_handler(LINUX_SIGSTOP, NULL, ctxt);
155155+ sigexc_handler(LINUX_SIGSTOP, NULL, (struct linux_ucontext*) ctxt);
156156 }
157157 else if (((uint32_t) info->si_value) == SIGRT_MAGIC_DISABLE_SIGEXC)
158158 {
···174174 // This is only used to pass a SIGSTOP to the traced process (from the debugger)
175175 // and have it passed back through the sigexc mechanism.
176176 // See sys_wait4().
177177- sigexc_handler(-sig, NULL, NULL);
177177+ sigexc_handler(-sig, NULL, (struct linux_ucontext*) ctxt);
178178 }
179179 else
180180 {