2015-11-19 16:21 GMT+01:00 John Paul Adrian Glaubitz < [email protected]>: > > > So perhaps: > > #define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) > > ucp)->uc_mcontext.mc_gregs[MC_O6] > > I'll give that a shot. >
It seems the glibc-2.21 header (sysdeps/unix/sysv/linux/sparc/sys/ucontext.h) defines REG_O6 as well, so that bit of the fix might not be necessary. It does use mc_gregs like 3.16. Cordially, -- Romain Dolbeau

