Subject: RE: sigcontext and __gregset_t mapping
To: None <>
From: =?iso-8859-1?Q?J=E9r=F4me_Laban?= <>
List: current-users
Date: 07/04/2004 20:44:58

> I don't understand what "compliance with another 
> implementation" means.

I did not choose the correct word for that. By this I meant that some other
implementation (like linux for instance) do use the same mapping for both

> Why do you need the registers to be in the same order?  If 
> you're trying to represent them in some other structure, it 
> seems to me you're entirely free to move them around as you 
> wish when constructing that other structure.

I want to have the registers in the same order to avoid introducing an
implementation specific remapping of the registers. To be specific, this is
some code for the Mono project that is using sigcontext to get the context

If I have to remap the structure, I'll do that but I just wanted to know why
these indexes are not the same.

> If you're using OS-dependent datatypes as internal 
> representations in your own code, that's a bug; you should fix it.


Jerome Laban