[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Sparc port
From: |
Falk Hueffner |
Subject: |
Re: [Qemu-devel] Sparc port |
Date: |
08 Jun 2003 13:23:39 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (artichoke) |
Fabrice Bellard <address@hidden> writes:
> BTW, another question: how can we know on Sparc if a SIGSEGV or
> SIGBUS was generated because of a read or a write ?
Probably in the same ugly way I tried it in the Alpha port: look at
the faulting instruction and disassemble it.
> The Linux kernel has the info but it does not seem to be copied to
> user space. It may be interesting to find a standard way to indicate
> if it is a read or write which caused the fault (using a field in
> siginfo_t would be nice).
Yes, that would be really nice. There are many uses for this.
--
Falk