summary refs log tree commit diff stats
path: root/python/qemu/utils
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-03-20 23:35:27 +0100
committerCédric Le Goater <clg@kaod.org>2022-03-20 23:35:27 +0100
commit9d1401b79463e74adbfac69d836789d4e103fb61 (patch)
tree6d96bb9ccf2f465408b75fba15399d9aa28b8882 /python/qemu/utils
parent2058fdbe81e2985c226a026851dd26b146d3395c (diff)
downloadfocaccia-qemu-9d1401b79463e74adbfac69d836789d4e103fb61.tar.gz
focaccia-qemu-9d1401b79463e74adbfac69d836789d4e103fb61.zip
ppc64: Avoid pt_regs struct definition
Remove pt_regs indirection and instead reference gp_regs directly, this
makes it portable across musl/glibc

Use PT_* constants defined in asm/ptrace.h

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->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>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220315015740.847370-1-raj.khem@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'python/qemu/utils')
0 files changed, 0 insertions, 0 deletions