diff options
author | 2008-11-18 20:50:36 +0000 | |
---|---|---|
committer | 2008-11-18 20:50:36 +0000 | |
commit | dde2367e209681cb606e137d15e10f976a6e2787 (patch) | |
tree | d447a347838067af681c4411892f632b80de78c5 /exec-all.h | |
parent | Introduce BP_WATCHPOINT_HIT flag (Jan Kiszka) (diff) | |
download | qemu-kvm-dde2367e209681cb606e137d15e10f976a6e2787.tar.gz qemu-kvm-dde2367e209681cb606e137d15e10f976a6e2787.tar.bz2 qemu-kvm-dde2367e209681cb606e137d15e10f976a6e2787.zip |
Add debug exception hook (Jan Kiszka)
This patch allows to hook into the delivery of EXCP_DEBUG so that other
use beyond guest debugging becomes possible.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5745 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'exec-all.h')
-rw-r--r-- | exec-all.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/exec-all.h b/exec-all.h index e3da98a7f..aec318ba8 100644 --- a/exec-all.h +++ b/exec-all.h @@ -387,4 +387,8 @@ static inline int kqemu_is_ok(CPUState *env) } #endif + +typedef void (CPUDebugExcpHandler)(CPUState *env); + +CPUDebugExcpHandler *cpu_set_debug_excp_handler(CPUDebugExcpHandler *handler); #endif |