On Mon, Mar 14, 2022 at 5:13 PM Richard Henderson
wrote:
>
> On 3/14/22 14:51, Khem Raj wrote:
> > +static inline uintptr_t host_signal_pc(host_sigcontext *uc)
> > +{
> > +return uc->uc_mcontext.gp_regs[32];
> > +}
> > +
> > +static inline void host_signal_set_pc(host_sigcontext *uc, uintptr_t
On 3/14/22 14:51, Khem Raj wrote:
+static inline uintptr_t host_signal_pc(host_sigcontext *uc)
+{
+return uc->uc_mcontext.gp_regs[32];
+}
+
+static inline void host_signal_set_pc(host_sigcontext *uc, uintptr_t pc)
+{
+uc->uc_mcontext.gp_regs[32] = pc;
+}
+
+static inline void *host_signal
Remove pt_regs indirection and instead reference gp_regs directly, this
makes it portable across musl/glibc
Move the file to ppc64 subdir and leave ppc empty
Fixes
../qemu-6.2.0/linux-user/host/ppc64/../ppc/host-signal.h:16:32: error:
incomplete definition of type 'struct pt_regs'
return uc-