gcore_prgetlwpstatus
return (gcore_prgetlwpstatus(p, t_addr, &kthrd, lstatus, NULL));
gcore_prgetlwpstatus(p, t_addr, t, &sp->pr_lwp, NULL);