wrong msr/nip value

From: <hidden>
Date: 2001-03-12 13:39:18

Hi,
                I am using Apple G4 dual on which I am getting ZERO values
of msr,nip and other
register values of strcut ptr_regs in the signal handler.

                                         My code is like this,
void handler(int signum,siginfo_t *s_,void *v)
{
                      struct sigcontext *p = (struct ptr_regs *)v;
printf("msr = %x \n nip = %x \n", p->regs->msr,p->regs->nip);
}

You can assume to it be an SIGALRM handler .

Thanks
Nilesh


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help