On 10/7/26 22:53, Richard Henderson wrote:
Add an identifier for use by targets with BP_CPU. For most targets
the index of the hardware breakpoint resource is to hand. For s390x,
there is only one resource so use id 0.
Signed-off-by: Richard Henderson <[email protected]>
---
include/exec/breakpoint.h | 4 +++-
accel/tcg/tcg-accel-ops.c | 2 +-
accel/tcg/user-exec-stub.c | 3 ++-
system/watchpoint.c | 3 ++-
target/arm/tcg/debug.c | 2 +-
target/i386/tcg/system/bpt_helper.c | 4 ++--
target/ppc/cpu.c | 3 ++-
target/riscv/debug.c | 8 ++++----
target/s390x/tcg/debug.c | 11 +++++------
target/xtensa/dbg_helper.c | 2 +-
10 files changed, 23 insertions(+), 19 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>