OSDN Git Service

target/m68k/helper: Fix m68k_fpu_gdb_get_reg() use of GByteArray
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 14 Apr 2020 20:06:24 +0000 (21:06 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 15 Apr 2020 10:38:23 +0000 (11:38 +0100)
commit4b27f9b08352c502ff982df30866063f3025d0ac
tree2042b338da49f1b98848c94d715b0663c96b2749
parent7ad4d5a43e7e6098acfc28df7666efeb117d22dd
target/m68k/helper: Fix m68k_fpu_gdb_get_reg() use of GByteArray

Since a010bdbe719 the gdbstub API takes a GByteArray*. Unfortunately
we forgot to update the gdb_get_reg*() calls. Do it now.

Fixes: a010bdbe719 ("extend GByteArray to read register helpers")
Reported-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200409172509.4078-1-philmd@redhat.com>
Message-Id: <20200414200631.12799-11-alex.bennee@linaro.org>
target/m68k/helper.c