[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Resurrecting Debian on SPARC



2015-11-19 16:21 GMT+01:00 John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>:
>
> > 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

Reply to: