bug-libsigsegv
[Top][All Lists]
Advanced

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

Re: [bug-libsigsegv] Re: sigsegv on s390 only giving start address of pa


From: Bruno Haible
Subject: Re: [bug-libsigsegv] Re: sigsegv on s390 only giving start address of page in segv handler
Date: Tue, 15 Mar 2011 01:28:06 +0100
User-agent: KMail/1.9.9

Christian Borntraeger wrote:
> I even think that this cannot be fully solved by looking at the instruction, 
> e.g. you cannot tell which access triggered the fault for instruction with
> two memory accesses (mvc) in the same page.

Sure you can. If it's a "read" fault (i.e. the page has no readable mapping),
you can claim the source address operand is the fault address. Otherwise,
i.e. if it's a "write" fault, the destination address operand is the fault
address.

Bruno



reply via email to

[Prev in Thread] Current Thread [Next in Thread]