On Wed, 28 Nov 2001, Pereira, D LailaX E wrote: > > scp->sc_ip is not properly aligned for an unsigned long access, i.e. > it is not a multiple of 8. > > Dan > But , > sc_ip field is defined as "unsigned long" in > struct sigcontext { > ... > unsigned long sc_ip; > ... > } > > ?? The problem is not how it is defined, but what value it contains. In your case, its value was not a multiple of 8, hence your problem. Other people have already explained how to properly use its value to get the relevant bundle address (clear the least significant 4 bits). Do the proper masking in your macro and you should get the expected results. DanReceived on Wed Nov 28 11:18:32 2001
This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:06 EST