The struct mcontext has changed. It's using the register sets. Bring

this in line.
This commit is contained in:
Marcel Moolenaar 2003-05-25 06:49:19 +00:00
parent 263c8abeb9
commit 9e14b94e43

View File

@ -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);