Re: [PATCH v2] target/sparc: Fix gdbstub incorrectly handling registers f32-f62

2025-02-16 Thread Mikael Szreder
This patch should be applicable to the stable releases as well, as the issue has existed since a while back. Best regards Mikael Szreder On February 15, 2025 8:58:09 PM GMT+01:00, Richard Henderson wrote: >On 2/13/25 23:03, Mikael Szreder wrote: >> The gdbstub implementation for the Sparc arch

Re: [PATCH v2] target/sparc: Fix gdbstub incorrectly handling registers f32-f62

2025-02-15 Thread Richard Henderson
On 2/13/25 23:03, Mikael Szreder wrote: The gdbstub implementation for the Sparc architecture would incorrectly calculate the the floating point register offset. This resulted in, for example, registers f32 and f34 to point to the same value. The issue was caused by the confusion between even re

Re: [PATCH v2] target/sparc: Fix gdbstub incorrectly handling registers f32-f62

2025-02-14 Thread Richard Henderson
On 2/13/25 23:03, Mikael Szreder wrote: The gdbstub implementation for the Sparc architecture would incorrectly calculate the the floating point register offset. This resulted in, for example, registers f32 and f34 to point to the same value. The issue was caused by the confusion between even re

[PATCH v2] target/sparc: Fix gdbstub incorrectly handling registers f32-f62

2025-02-13 Thread Mikael Szreder
The gdbstub implementation for the Sparc architecture would incorrectly calculate the the floating point register offset. This resulted in, for example, registers f32 and f34 to point to the same value. The issue was caused by the confusion between even register numbers and even register indexes.