diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2023-03-02 18:57:55 -0800 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2023-03-07 20:44:08 +0000 |
commit | 379b42e8b7681ebea45cde4af8ffd1694f98949d (patch) | |
tree | dfd8eca65e1d2348b7bfc6489161fd3379f3331e /target/sh4/gdbstub.c | |
parent | b428ad12341fe0d8ec936942dca65dd4bc5a7ba5 (diff) | |
download | qemu-379b42e8b7681ebea45cde4af8ffd1694f98949d.zip qemu-379b42e8b7681ebea45cde4af8ffd1694f98949d.tar.gz qemu-379b42e8b7681ebea45cde4af8ffd1694f98949d.tar.bz2 |
gdbstub: don't use target_ulong while handling registers
This is a hangover from the original code. addr is misleading as it is
only really a register id. While len will never exceed
MAX_PACKET_LENGTH I've used size_t as that is what strlen returns.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230302190846.2593720-20-alex.bennee@linaro.org>
Message-Id: <20230303025805.625589-20-richard.henderson@linaro.org>
Diffstat (limited to 'target/sh4/gdbstub.c')
0 files changed, 0 insertions, 0 deletions