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
Le 22/04/12 18:38, David Laight a écrit :
> 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.
I will add it later.
>> 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.
I did not know -- care to give an example? #AC exception from amd64 was
not working, so I would guess that this was not used for this port at least.
--
jym@
Home |
Main Index |
Thread Index |
Old Index