]> git.ipfire.org Git - thirdparty/qemu.git/commit
cputlb: Pass retaddr to tb_check_watchpoint
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 22 Sep 2019 03:24:12 +0000 (20:24 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 25 Sep 2019 17:56:28 +0000 (10:56 -0700)
commitae57db63acf5a0399232f852acc5c1d83ef63400
treea385f7b2d267ee95b40ff4fdc28958a00a147dcd
parent5a7c27bb8a50a1b441a5b4c9d8e65727edec7f27
cputlb: Pass retaddr to tb_check_watchpoint

Fixes the previous TLB_WATCHPOINT patches because we are currently
failing to set cpu->mem_io_pc with the call to cpu_check_watchpoint.
Pass down the retaddr directly because it's readily available.

Fixes: 50b107c5d61
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/translate-all.c
accel/tcg/translate-all.h
exec.c