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

Re: Resurrecting Debian on SPARC



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 - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: