Source-Changes-D archive

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

Re: CVS commit: src/tests/lib/libc/gen



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: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index