diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2015-12-17 13:37:15 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-12-17 13:37:15 +0000 |
commit | 34c45d53026d9c135415d034a8bc30c1a30acf1c (patch) | |
tree | a95e4d71c40efbe9be47465130fe61cb54b7c0b2 /kvm-all.c | |
parent | e4482ab7e3849fb5e01ccacfc13f424cc6acb8d5 (diff) | |
download | qemu-34c45d53026d9c135415d034a8bc30c1a30acf1c.tar.gz qemu-34c45d53026d9c135415d034a8bc30c1a30acf1c.tar.bz2 qemu-34c45d53026d9c135415d034a8bc30c1a30acf1c.zip |
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>
Diffstat (limited to 'kvm-all.c')
0 files changed, 0 insertions, 0 deletions