[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 14/17] gdbstub: Introduce gdb_get_float64() to get 64-bit
From: |
Richard Henderson |
Subject: |
Re: [PATCH v2 14/17] gdbstub: Introduce gdb_get_float64() to get 64-bit float registers |
Date: |
Tue, 14 Apr 2020 14:22:40 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
On 4/14/20 1:06 PM, Alex Bennée wrote:
> From: Philippe Mathieu-Daudé <address@hidden>
>
> When converted to use GByteArray in commits 462474d760c and
> a010bdbe719, the call to stfq_p() was removed. This call
> serialize a float.
> Since we now use a GByteArray, we can not use stfq_p() directly.
> Introduce the gdb_get_float64() helper to load a float64 register.
>
> Fixes: 462474d760c ("target/m68k: use gdb_get_reg helpers")
> Fixes: a010bdbe719 ("extend GByteArray to read register helpers")
> Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
> Signed-off-by: Alex Bennée <address@hidden>
> Message-Id: <address@hidden>
> ---
> include/exec/gdbstub.h | 11 +++++++++++
> target/m68k/helper.c | 3 ++-
> target/ppc/gdbstub.c | 4 ++--
> target/ppc/translate_init.inc.c | 2 +-
> 4 files changed, 16 insertions(+), 4 deletions(-)
Not for 5.0, please.
As I mentioned in reply to Phil, this is not a bug fix. Unlike the float32 sh4
usage, the places changed properly use gdb_get_reg64().
r~