]> git.proxmox.com Git - mirror_qemu.git/commit
replay: fix watchpoint processing for reverse debugging
authorPavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
Tue, 11 May 2021 09:11:43 +0000 (12:11 +0300)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 26 May 2021 22:33:59 +0000 (15:33 -0700)
commit57dcb643d79731b08a863444d6591d22552bc2e5
tree5cce7762d84274bbcd4b44b2469ed3ecfeb8c252
parente5ceadff47ddec1513a56f96d9df246f62c90875
replay: fix watchpoint processing for reverse debugging

This patch enables reverse debugging with watchpoints.
Reverse continue scans the execution to find the breakpoints
and watchpoints that should fire. It uses helper function
replay_breakpoint() for that. But this function needs to access
icount, which can't be correct in the middle of TB.
Therefore, in case of watchpoint, we have to retranslate the block
to allow this access.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Message-Id: <162072430303.827403.7379783546934958566.stgit@pasha-ThinkPad-X280>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
softmmu/physmem.c