On 22/9/22 16:58, Alex Bennée wrote:
The support of single-stepping is very much dependent on support from
the accelerator we are using. To avoid special casing in gdbstub move
the probing out to an AccelClass function so future accelerators can
put their code there.

Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Cc: Mads Ynddal <m...@ynddal.dk>
---
  include/qemu/accel.h | 12 ++++++++++++
  include/sysemu/kvm.h |  8 --------
  accel/accel-common.c | 10 ++++++++++
  accel/kvm/kvm-all.c  | 14 +++++++++++++-
  accel/tcg/tcg-all.c  | 17 +++++++++++++++++
  gdbstub/gdbstub.c    | 22 ++++------------------
  6 files changed, 56 insertions(+), 27 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>

Reply via email to