The struct mcontext has changed. It's using the register sets. Bring
this in line.
This commit is contained in:
parent
263c8abeb9
commit
9e14b94e43
@ -52,7 +52,7 @@ _set_curthread(ucontext_t *uc, struct pthread *thread)
|
||||
{
|
||||
|
||||
if (uc != NULL)
|
||||
uc->uc_mcontext.mc_gr[13] = (uint64_t)thread;
|
||||
uc->uc_mcontext.mc_special.tp = (uint64_t)thread;
|
||||
else
|
||||
_tp = thread;
|
||||
return (NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user