|
From: | Bruno Haible |
Subject: | Re: [bug-libsigsegv] Re: sigsegv on s390 only giving start address of page in segv handler |
Date: | Mon, 14 Mar 2011 11:50:37 +0100 |
User-agent: | KMail/1.9.9 |
Heiko Carstens wrote: > You would have to perform instruction decoding to figure out what was the > exact failing address. Not really a thankful job. This is done in libsigsegv and Boehm GC for m68k, PowerPC, and Alpha processors (see [1][2][3][4]) already. Why not also for s390 and s390x? Or even better, why doesn't the kernel do this job before passing the address to userland? Bruno [1] http://git.savannah.gnu.org/gitweb/?p=libsigsegv.git;a=blob;f=src/fault-linux-m68k-old.c [2] http://git.savannah.gnu.org/gitweb/?p=libsigsegv.git;a=blob;f=src/fault-macosdarwin5-powerpc.c [3] http://git.savannah.gnu.org/gitweb/?p=libsigsegv.git;a=blob;f=src/fault-macosdarwin7-powerpc.c [4] http://git.savannah.gnu.org/gitweb/?p=libsigsegv.git;a=blob;f=src/fault-netbsd-alpha.c
[Prev in Thread] | Current Thread | [Next in Thread] |