blob: 687f871dbe605c8e3aa29f39e78e544a921541db [file] [log] [blame]
#if defined LINUX_MIPSO32
/*
* offsetof(struct sigframe, sf_mask) ==
* sizeof(sf_ass) + sizeof(sf_pad) + sizeof(struct sigcontext)
*/
const long addr = mips_REG_SP + 6 * 4 +
sizeof(struct sigcontext);
#else
/*
* This decodes rt_sigreturn.
* The 64-bit ABIs do not have sigreturn.
*
* offsetof(struct rt_sigframe, rs_uc) ==
* sizeof(sf_ass) + sizeof(sf_pad) + sizeof(struct siginfo)
*/
const long addr = mips_REG_SP + 6 * 4 + 128 +
offsetof(struct ucontext, uc_sigmask);
#endif
tprints("{mask=");
print_sigset_addr_len(tcp, addr, NSIG / 8);
tprints("}");