diff options
author | Michael Walle <michael@walle.cc> | 2013-09-18 19:10:45 +0200 |
---|---|---|
committer | Michael Walle <michael@walle.cc> | 2014-02-04 19:47:06 +0100 |
commit | 3dd3a2b965a2d2f5b9c53ab86194b78a546a8fc5 (patch) | |
tree | efb294ea9457149f57eb3ab5f298ef7d690ea7d2 /target-lm32/cpu.c | |
parent | 34f4aa83f96722aa2c36fbe179108863ebe6e3e9 (diff) |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-lm32/cpu.c b/target-lm32/cpu.c index 2b207adbd2..7e716fb336 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); } } |