On 10/28/21 4:48 AM, Pavel Dovgalyuk wrote:
Watchpoints that should fire after the memory access
break an execution of the current block, try to
translate current instruction into the separate block,
which then causes debug interrupt.
But cpu_interrupt can't be called in such block when
icount is enabled, because interrupts muse be allowed
explicitly.
This patch sets CF_LAST_IO flag for retranslated block,
allowing interrupt request for the last instruction.
Signed-off-by: Pavel Dovgalyuk<[email protected]>
---
softmmu/physmem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Indeed, the other such assignment, about 30 lines up, already does this.
Reviewed-by: Richard Henderson <[email protected]>
r~