On 3/18/25 17:30, Pierrick Bouvier wrote:
  include/exec/watchpoint.h           | 41 +++++++++++++++++++++++++++++
  include/hw/core/cpu.h               | 30 ---------------------
  accel/tcg/tcg-accel-ops.c           |  1 +
  system/watchpoint.c                 |  1 +
  target/arm/debug_helper.c           |  1 +
  target/i386/cpu.c                   |  1 +
  target/i386/machine.c               |  2 +-
  target/i386/tcg/system/bpt_helper.c |  1 +
  target/ppc/cpu.c                    |  1 +
  target/ppc/cpu_init.c               |  2 +-
  target/riscv/debug.c                |  1 +
  target/s390x/helper.c               |  1 +
  target/s390x/tcg/excp_helper.c      |  1 +
  target/xtensa/dbg_helper.c          |  1 +
  14 files changed, 53 insertions(+), 32 deletions(-)
...
To push further, it could be worth to remove inline stubs, put definitions in common-user/ watchpoint.c, and add this file to user_ss.

I thought about it, and even had it that way at one point.
But every single usage was within a file that is already
target specific, or system-only.


r~

Reply via email to