aboutsummaryrefslogtreecommitdiff
path: root/target-lm32/cpu.c
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2013-09-18 19:10:45 +0200
committerMichael Walle <michael@walle.cc>2014-02-04 19:47:06 +0100
commit3dd3a2b965a2d2f5b9c53ab86194b78a546a8fc5 (patch)
treeefb294ea9457149f57eb3ab5f298ef7d690ea7d2 /target-lm32/cpu.c
parent34f4aa83f96722aa2c36fbe179108863ebe6e3e9 (diff)
downloadqemu-3dd3a2b965a2d2f5b9c53ab86194b78a546a8fc5.zip
qemu-3dd3a2b965a2d2f5b9c53ab86194b78a546a8fc5.tar.gz
qemu-3dd3a2b965a2d2f5b9c53ab86194b78a546a8fc5.tar.bz2
target-lm32: add breakpoint/watchpoint support
This patch adds in-target breakpoint and watchpoint support. Signed-off-by: Michael Walle <michael@walle.cc>
Diffstat (limited to 'target-lm32/cpu.c')
-rw-r--r--target-lm32/cpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-lm32/cpu.c b/target-lm32/cpu.c
index 2b207ad..7e716fb 100644
--- a/target-lm32/cpu.c
+++ b/target-lm32/cpu.c
@@ -153,6 +153,7 @@ static void lm32_cpu_initfn(Object *obj)
if (tcg_enabled() && !tcg_initialized) {
tcg_initialized = true;
lm32_translate_init();
+ cpu_set_debug_excp_handler(lm32_debug_excp_handler);
}
}