[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Broken signal handling in Mintlib PL46?
Chris Ridd <chris@imc.exec.nhs.uk> writes:
|> In addition, the _trampoline function looks broken as well... Perhaps
|> I'm missing something, but why does _trampoline take two long args?
|> The Psignal specs I've read (didn't check the src though) say that
|> the signal handling function should take one long arg only.
The kernel actually does pass two longs to signal handlers, and
_trampoline should pass both. The second arg is the vector number
that triggered the signal, usefull to distinguish between the
different sources of SIGFPE.
Andreas.