>printf("eip=%d\n",san2.pr_reg[EIP]); >printf("nlwp=%d\n",san.pr_nlwp); >printf("eax=%d\n",san2.pr_reg[EAX]);
>eip=-17832443 >nlwp=1 >eax=3 > >I tried this code. But the values the EIP register returned were not what we >expect, right? Why is EIP returning a garbage value. The same is the case with >other registers as well. Only EAX is returning a value which may be thought to >be >correct. Even in the case of EAX, how can we check if the value is right? -17832443 = feefe605 Sounds like a simple shared library address. You have a 64 bit system? Your will find the EIP inside of a read library call... Casper _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org