diff options
author | Alex Bennée | 2019-06-03 16:56:32 +0200 |
---|---|---|
committer | Alex Bennée | 2019-06-12 18:53:22 +0200 |
commit | 8c79b288513587e960b6b7257a9d955d5592f209 (patch) | |
tree | 387e7d351a921ca0c4adb87ca0edecbb0f25a5e8 /gdbstub.c | |
parent | semihosting: split console_out into string and char versions (diff) | |
download | qemu-8c79b288513587e960b6b7257a9d955d5592f209.tar.gz qemu-8c79b288513587e960b6b7257a9d955d5592f209.tar.xz qemu-8c79b288513587e960b6b7257a9d955d5592f209.zip |
cputlb: use uint64_t for interim values for unaligned load
When running on 32 bit TCG backends a wide unaligned load ends up
truncating data before returning to the guest. We specifically have
the return type as uint64_t to avoid any premature truncation so we
should use the same for the interim types.
Fixes: https://bugs.launchpad.net/qemu/+bug/1830872
Fixes: eed5664238e
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Igor Mammedov <imammedo@redhat.com>
Diffstat (limited to 'gdbstub.c')
0 files changed, 0 insertions, 0 deletions