blob: 6e4343a80118a64c4bc77a2331f7943076df786c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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(tcp, addr);
tprints("}");
}
|