qemu-irix/target-arm
Alex Bennée 34c45d5302 target-arm: kvm - re-inject guest debug exceptions
If we can't find details for the debug exception in our debug state
then we can assume the exception is due to debugging inside the guest.
To inject the exception into the guest state we re-use the TCG exception
code (do_interrupt).

However while guest debugging is in effect we currently can't handle the
guest using single step as we will keep trapping to back to userspace.
GDB makes heavy use of single-step behind the scenes which effectively
means the guest's ability to debug itself is disabled while it is being
debugged.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 1449599553-24713-6-git-send-email-alex.bennee@linaro.org
[PMM: Fixed a few typos in comments and commit message]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2015-12-17 13:37:15 +00:00
..
Makefile.objs
arm-semi.c target-arm/arm-semi.c: SYS_EXIT on A64 takes a parameter block 2015-09-07 10:39:28 +01:00
arm_ldst.h
cpu-qom.h target-arm: Refactor CPU affinity handling 2015-09-07 10:39:31 +01:00
cpu.c target-arm: raise exception on misaligned LDREX operands 2015-12-17 13:37:13 +00:00
cpu.h target-arm: Add HPFAR_EL2 2015-10-27 15:59:46 +00:00
cpu64.c
crypto_helper.c
gdbstub.c
gdbstub64.c
helper-a64.c target-arm: kvm - re-inject guest debug exceptions 2015-12-17 13:37:15 +00:00
helper-a64.h
helper.c target-arm: raise exception on misaligned LDREX operands 2015-12-17 13:37:13 +00:00
helper.h target-arm: Fix CPU breakpoint handling 2015-10-16 14:48:56 +01:00
internals.h target-arm: raise exception on misaligned LDREX operands 2015-12-17 13:37:13 +00:00
iwmmxt_helper.c
kvm-consts.h
kvm-stub.c
kvm.c target-arm: kvm - add support for HW assisted debug 2015-12-17 13:37:15 +00:00
kvm32.c target-arm: kvm - add support for HW assisted debug 2015-12-17 13:37:15 +00:00
kvm64.c target-arm: kvm - re-inject guest debug exceptions 2015-12-17 13:37:15 +00:00
kvm_arm.h target-arm: kvm - add support for HW assisted debug 2015-12-17 13:37:15 +00:00
machine.c hw/intc: Initial implementation of vGICv3 2015-09-24 01:29:37 +01:00
neon_helper.c
op_addsub.h
op_helper.c target-arm: raise exception on misaligned LDREX operands 2015-12-17 13:37:13 +00:00
psci.c
translate-a64.c target-arm/translate-a64.c: Correct unallocated checks for ldst_excl 2015-11-24 14:12:15 +00:00
translate.c target-arm: Fix and improve AA32 singlestep translation completion code 2015-12-17 13:37:13 +00:00
translate.h tcg: Remove gen_intermediate_code_pc 2015-10-07 20:36:52 +11:00