Re: SIGSEGV information on SPARC64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Do you mean retrieving the instruction from tpc in sigcontext?
Thanks a lot. I'll try it.

On 8/7/07, David Miller <davem@xxxxxxxxxxxxx> wrote:
> From: "jiaqi zhang" <zation.busy@xxxxxxxxx>
> Date: Tue, 7 Aug 2007 10:41:18 +1200
>
> > While I could find the faultive address in siginfo_t, it seems there
> > is no way to find the access type(read or write) in it.
>
> Disassemble the instruction and see if it is a load or a store.
>
> Even if the information is added to siginfo_t, you'll need to make
> your code work on 10+ years of existing kernels.
>
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux