Subject: Re: sigcontext and __gregset_t mapping
To: =?iso-8859-1?q?J=E9r=F4me_Laban?= <firstname.lastname@example.org>
From: Klaus Klein <email@example.com>
Date: 07/05/2004 10:08:06
On Sunday 04 July 2004 20:44, J=E9r=F4me Laban wrote:
> I want to have the registers in the same order to avoid introducing an
> implementation specific remapping of the registers. To be specific, this =
> some code for the Mono project that is using sigcontext to get the context
> of a SIGSEGV.
This sounds suspiciously like it should be using siginfo as well.
> If I have to remap the structure, I'll do that but I just wanted to know =
> these indexes are not the same.
The i386 ucontext and mcontext layouts were chosen to match the
ones described in the System V ABI Intel386 supplement. This is
where those structures were invented, predating Linux by a couple