On 7/10/26 22:53, Richard Henderson wrote:
Record the CPUBreakpoint in check_for_breakpoints_slow,
into a new CPUState field, so that the as-yet unconverted
target debug_excp_handler functions won't see it.

Only call debug_excp_handler for BP_CPU, and clear the
CPUState fields after the call.  This will allow these
actions to be dropped from the target hook.

Signed-off-by: Richard Henderson <[email protected]>
---
  include/hw/core/cpu.h |  1 +
  accel/tcg/cpu-exec.c  | 32 +++++++++++++++++++++++---------
  2 files changed, 24 insertions(+), 9 deletions(-)

Reviewed-by: Ilya Leoshkevich <[email protected]>


Reply via email to