]> git.ipfire.org Git - thirdparty/qemu.git/commit
gdbstub: Adjust gdb_do_syscall to only use uint32_t and uint64_t
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 3 Mar 2023 02:58:03 +0000 (18:58 -0800)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 7 Mar 2023 20:44:09 +0000 (20:44 +0000)
commit0820a075af2ee1090217c59c3d8ec966907cec1c
tree76731d8682610ed91f6393710ba6116f2e7e4ae7
parent2f70f2d7917357621fbc4fadeb1bb6f99bd805e0
gdbstub: Adjust gdb_do_syscall to only use uint32_t and uint64_t

Pass %x as uint32_t and %lx as uint64_t; pass the address
of %s as uint64_t and the length as uint32_t.

Add casts in semihosting/syscalls.c from target_ulong to
uint64_t; add casts from int to uint32_t for clarity.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230303025805.625589-28-richard.henderson@linaro.org>
gdbstub/syscalls.c
semihosting/syscalls.c