On Jan 02 2022, soeren--- via Gcc-patches wrote:

>       libgo/runtime/go-signal.c: In function 'getSiginfo':
>       libgo/runtime/go-signal.c:227:63: error: invalid use of undefined type 
> 'struct pt_regs'
>         227 |         ret.sigpc = 
> ((ucontext_t*)(context))->uc_mcontext.regs->nip;

Why does that use .regs instead of .uc_regs?

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

Reply via email to