blob: b1182fced2f5f1fd49986ff617128d13f62492e2 [file] [log] [blame] [edit]
static void
arch_sigreturn(struct tcb *tcp)
{
/* offset of ucontext in the kernel's sigframe structure */
#define SIGFRAME_UC_OFFSET C_ABI_SAVE_AREA_SIZE + sizeof(siginfo_t)
const long addr = tile_regs.sp + SIGFRAME_UC_OFFSET +
offsetof(struct ucontext, uc_sigmask);
tprints("{mask=");
print_sigset_addr_len(tcp, addr, NSIG / 8);
tprints("}");
}