[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH-for-5.0 v2 1/2] gdbstub: Introduce gdb_get_float32() to get 3
From: |
Richard Henderson |
Subject: |
Re: [PATCH-for-5.0 v2 1/2] gdbstub: Introduce gdb_get_float32() to get 32-bit float registers |
Date: |
Tue, 14 Apr 2020 14:04:34 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
On 4/14/20 7:32 AM, Philippe Mathieu-Daudé wrote:
> Since we now use a GByteArray, we can not use stfl_p() directly.
> Introduce the gdb_get_float32() helper to load a float32 register.
>
> Fixes: a010bdbe719 ("extend GByteArray to read register helpers")
> Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
> ---
> include/exec/gdbstub.h | 12 ++++++++++++
> target/sh4/gdbstub.c | 6 ++----
> 2 files changed, 14 insertions(+), 4 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
r~