Sean Anderson <[email protected]> writes: > While discussing [1], it came to my attention that QEMU does not > properly truncate/error SYS_FLEN on 32-bit systems. Fix this, and some > other bugs with GDB File I/O that I found while working on this series. > That said, GDB File I/O has been substantially broken for two years now, > so it makes me wonder if anyone actually uses it! It would certainly > simplify the implementation if we didn't have to support it. > > [1] > https://lore.kernel.org/u-boot/20251017195322.GF6688@bill-the-cat/T/#m493c42570d3103b8c606c5f50faeb78d27719de6 >
Queued 1-2 to maintainer/8.2-softfreeze, thanks. As there is some discussion on patch 3 I'll leave that for now. We can still merge bug fixes after softfreeze but it doesn't seem like its a critical problem. > > Sean Anderson (3): > gdbstub: Fix %s formatting > semihosting: Fix GDB File-I/O FLEN > semihosting: Check for overflow in FLEN on 32-bit systems > > gdbstub/syscalls.c | 2 +- > semihosting/arm-compat-semi.c | 22 +++++++++++++++------- > 2 files changed, 16 insertions(+), 8 deletions(-) -- Alex Bennée Virtualisation Tech Lead @ Linaro
