OSDN Git Service

semihosting: Use struct gdb_stat in common_semi_flen_cb
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 29 Apr 2022 21:55:21 +0000 (14:55 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 27 Jun 2022 23:05:07 +0000 (04:35 +0530)
commitcd7f29e335a88c2803bfb42ee3cef60417c43274
tree33a3e1053ec720b55a44194ff6138f540230c45f
parentc805e118754a2c90c29219985ba389829d4a53a4
semihosting: Use struct gdb_stat in common_semi_flen_cb

Load the entire 64-bit size value.  While we're at it,
use offsetof instead of an integer constant.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
semihosting/arm-compat-semi.c