blob: 6eb7cd8e881f7c41bac4c718209d28e16d56e2fa [file] [log] [blame]
static void
arch_sigreturn(struct tcb *tcp)
{
/* TODO: Verify that this is correct... */
unsigned long addr;
/* Read r1, the stack pointer. */
if (upeek(tcp->pid, 1 * 4, &addr) < 0)
return;
addr += offsetof(struct sigcontext, oldmask);
tprints("{mask=");
print_sigset_addr_len(tcp, addr, NSIG_BYTES);
tprints("}");
}