blob: c394889c51f1e999a20aa0c21c4c40b9225f1b7e [file] [log] [blame]
/* Return codes: 1 - ok, 0 - ignore, other - error. */
static int
arch_get_scno(struct tcb *tcp)
{
return upeek(tcp, PT_ORIG_P0, &tcp->scno) < 0 ? -1 : 1;
}