summaryrefslogtreecommitdiffstats
path: root/gdbstub.c
diff options
context:
space:
mode:
authorAlex Bennée2019-06-03 17:14:24 +0200
committerAlex Bennée2019-06-12 18:53:22 +0200
commitfcf112317c6c5eaa816a010a701efeaebc5baf60 (patch)
tree1caa3f80babf70df822d2a73d2b6ec8d18bfb024 /gdbstub.c
parentcputlb: use uint64_t for interim values for unaligned load (diff)
downloadqemu-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