target/ppc: Ensure TCG is used in ppc_update_daw()
Per commit d5ee641cfc5 ("target/ppc: Implement watchpoint debug facility for v2.07S"), only TCG is implemented: ISA v2.07S introduced the watchpoint facility based on the DAWR0 and DAWRX0 SPRs. Implement this in TCG. ^^^^^^^^^^^^^^^^^^^^^ Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com> Reviewed-by: Daniel Henrique Barboza <daniel.barboza@oss.qualcomm.com> Message-ID: <20260705215729.62196-28-philmd@oss.qualcomm.com>
Philippe Mathieu-Daudé committed
Jun 30, 2026 at 06:42 UTC
cbdbbfaf761be3eedcc8cae1f6c08b747d1642a6
1 file changed
+2
target/ppc/cpu.c
+2
@@ -147,6 +147,8 @@ void ppc_update_daw(CPUPPCState *env, int rid)
147
vaddr len;
148
int flags;
149
150
+ assert(tcg_enabled());
151
+
152
if (env->dawr_watchpoint[rid]) {
153
cpu_watchpoint_remove_by_ref(cs, env->dawr_watchpoint[rid]);
154
env->dawr_watchpoint[rid] = NULL;