|
From: | Richard Henderson |
Subject: | Re: [PATCH v2] ppc: Include asm/ptrace.h for pt_regs struct definition |
Date: | Mon, 14 Mar 2022 12:18:56 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
On 3/14/22 10:25, Khem Raj wrote:
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->uc_mcontext.regs->nip; ~~~~~~~~~~~~~~~~~~~~^ Signed-off-by: Khem Raj<raj.khem@gmail.com> Cc: Peter Maydell<peter.maydell@linaro.org> Cc: Philippe Mathieu-Daudé<f4bug@amsat.org> Cc: Richard Henderson<richard.henderson@linaro.org> --- v2: Drop ifdef __powerpc__ linux-user/include/host/ppc/host-signal.h | 3 +++ 1 file changed, 3 insertions(+)
As per late conversation vs version 1, instead of the include, we should update the code to avoid the pt_regs indirection and instead reference gp_regs directly.
We should also move the file to ../ppc64/, leaving ppc/ empty. r~
[Prev in Thread] | Current Thread | [Next in Thread] |