On Sun, Apr 22, 2012 at 02:22:30PM +0100, Jean-Yves Migeon wrote: > > Hmm, siginfo(2) states the following: > > For SIGBUS and SIGSEGV the siginfo structure contains the > following additional members: > > void *si_addr; > int si_trap; > > si_addr contains the address of the faulting data
That certainly needs an 'if available' comment. > and si_trap contains a hardware specific reason. But, as has been pointed out before, code in libc will generate alignment traps - because it is faster that way. David -- David Laight: da...@l8s.co.uk