On 11/10/21 5:31 PM, Warner Losh wrote:
+static inline void host_signal_set_pc(ucontext_t *uc, uintptr_t pc)
+{
+#ifdef __arch64__
+    uc->uc_mcontext.mc_gregs[MC_PC] = pc;
+#else
+    &uc->uc_mcontext.gregs[REG_PC] = pc;

Stray & here.  Not that I have a sparc32 host on which to compile this...


r~

Reply via email to