On 7/3/26 09:37, Philippe Mathieu-Daudé wrote:
Now accelerators hold the 'guest debug supported' information
in their state, accessible by the common code. No need to call
a per-accelerator handler, simply check for the SSTEP_ENABLE
inAccelGdbConfig::sstep_flags.

Remove allAccelOpsClass::supports_guest_debug implementations,
inline gdb_supports_guest_debug() and remove the now unnecessary
KVMState::have_guest_debug field.

Signed-off-by: Philippe Mathieu-Daudé<[email protected]>
---
  docs/system/gdb.rst           |  2 +-
  accel/kvm/kvm-cpus.h          |  1 -
  include/accel/accel-cpu-ops.h |  1 -
  include/qemu/accel.h          |  2 ++
  include/system/hvf_int.h      |  5 -----
  include/system/kvm_int.h      |  1 -
  include/system/whpx-all.h     |  3 ---
  accel/accel-common.c          |  5 +++++
  accel/hvf/hvf-accel-ops.c     |  1 -
  accel/kvm/kvm-accel-ops.c     |  1 -
  accel/kvm/kvm-all.c           | 13 +------------
  accel/tcg/tcg-accel-ops.c     |  6 ------
  accel/whpx/whpx-accel-ops.c   |  6 ------
  gdbstub/system.c              | 13 +------------
  target/arm/hvf/hvf.c          |  5 -----
  target/arm/whpx/whpx-all.c    |  5 -----
  target/i386/hvf/hvf.c         |  5 -----
  target/i386/whpx/whpx-all.c   |  5 -----
  18 files changed, 10 insertions(+), 70 deletions(-)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to