|
| From: | Richard Henderson |
| Subject: | Re: [RFC PATCH] target/ppc: fix vector registers access in gdbstub for little-endian |
| Date: | Thu, 12 Aug 2021 10:05:52 -1000 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 8/12/21 9:10 AM, matheus.ferst@eldorado.org.br wrote:
static bool avr_need_swap(CPUPPCState *env)
{
+ bool le;
+#if defined(CONFIG_USER_ONLY)
+ le = false;
+#else
+ le = msr_le;
+#endif
It certainly doesn't seem like the right fix.My first guess was that MSR_LE wasn't being properly set up at cpu_reset for user-only, but it's there.
r~
| [Prev in Thread] | Current Thread | [Next in Thread] |