]> xenbits.xensource.com Git - people/pauldu/qemu.git/commit
gdbstub: move breakpoint logic to accel ops
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 29 Sep 2022 11:42:24 +0000 (12:42 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 6 Oct 2022 10:53:41 +0000 (11:53 +0100)
commitae7467b1ac49e10c548099e9f9c59af895af2d3f
treea414196a412f105a8787c88230bc6b5f749eb2a3
parent3b7a93880a88fb2e3c0e71378a7d39d25103d734
gdbstub: move breakpoint logic to accel ops

As HW virtualization requires specific support to handle breakpoints
lets push out special casing out of the core gdbstub code and into
AccelOpsClass. This will make it easier to add other accelerator
support and reduces some of the stub shenanigans.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Mads Ynddal <mads@ynddal.dk>
Message-Id: <20220929114231.583801-45-alex.bennee@linaro.org>
14 files changed:
accel/kvm/kvm-accel-ops.c
accel/kvm/kvm-all.c
accel/kvm/kvm-cpus.h
accel/stubs/kvm-stub.c
accel/tcg/tcg-accel-ops.c
gdbstub/gdbstub.c
gdbstub/internals.h [new file with mode: 0644]
gdbstub/meson.build
gdbstub/softmmu.c [new file with mode: 0644]
gdbstub/user.c [new file with mode: 0644]
include/sysemu/accel-ops.h
include/sysemu/cpus.h
include/sysemu/kvm.h
softmmu/cpus.c