qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ppc: Include asm/ptrace.h for pt_regs struct definition


From: Richard Henderson
Subject: Re: [PATCH] ppc: Include asm/ptrace.h for pt_regs struct definition
Date: Mon, 14 Mar 2022 11:52:48 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 3/14/22 11:06, Peter Maydell wrote:
I have a custom distro building with Yocto which is using musl C
library instead of glibc.

Ah, musl. I found this gcc mailing list post from one of the musl
upstream developers:
https://www.mail-archive.com/gcc-patches@gcc.gnu.org/msg281012.html

where he suggests a different approach involving uc_regs->gregs[32]
for ppc32 and uc_mcontext.gp_regs[32] for ppc64.

Richard: any opinion on that idea ?
Reasonable. I would also remove the indirection between linux-user/include/host/ppc64/host-signal.h to linux-user/include/host/ppc/host-signal.h.

We don't support ppc32 anymore -- there are afaik no current distros supporting ppc32 with which we could even test.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]