On 11/19/2015 04:19 PM, Romain Dolbeau wrote: > Armchair quarterbacking here, but from my old copy of linux 3.16, the > registers from the windows are named mc_gregs not gregs. The definition > of "ucontext_t" is in > "linux-source-3.16/arch/sparc/include/uapi/asm/uctx.h". It's also not > REG_O6 but MC_O6 apparently. > > So perhaps: > #define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) > ucp)->uc_mcontext.mc_gregs[MC_O6]
I'll give that a shot. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - [email protected] `. `' Freie Universitaet Berlin - [email protected] `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

