diff options
author | Alex Bennée | 2019-06-03 17:14:24 +0200 |
---|---|---|
committer | Alex Bennée | 2019-06-12 18:53:22 +0200 |
commit | fcf112317c6c5eaa816a010a701efeaebc5baf60 (patch) | |
tree | 1caa3f80babf70df822d2a73d2b6ec8d18bfb024 /gdbstub.c | |
parent | cputlb: use uint64_t for interim values for unaligned load (diff) | |
download | qemu-fcf112317c6c5eaa816a010a701efeaebc5baf60.tar.gz qemu-fcf112317c6c5eaa816a010a701efeaebc5baf60.tar.xz qemu-fcf112317c6c5eaa816a010a701efeaebc5baf60.zip |
tests/tcg: better detect truncated reads
If we've truncated a wider read we can detect the condition earlier by
looking at the number of zeros we've read. So we don't trip up on
cases where we have written zeros to the start of the buffer we also
ensure we only start each offset read from the right address.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'gdbstub.c')
0 files changed, 0 insertions, 0 deletions