aboutsummaryrefslogtreecommitdiff
path: root/target-arm/machine.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-09-29 18:48:46 +0100
committerPeter Maydell <peter.maydell@linaro.org>2014-09-29 18:48:46 +0100
commit46747d15080a93cc82cac563c1b7b8ffef164bb5 (patch)
tree550a1ebd79c3033cb772ad5b8d2358c780035343 /target-arm/machine.c
parent70556264a89a268efba1d7e8e341adcdd7881eb4 (diff)
target-arm: Implement setting guest breakpoints
This patch adds support for setting guest breakpoints based on values the guest writes to the DBGBVR and DBGBCR registers. (It doesn't include the code to handle when these breakpoints fire, so has no guest-visible effect.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1410523465-13400-2-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'target-arm/machine.c')
-rw-r--r--target-arm/machine.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-arm/machine.c b/target-arm/machine.c
index 8dfe87cb6b..ddb7d05c28 100644
--- a/target-arm/machine.c
+++ b/target-arm/machine.c
@@ -214,6 +214,7 @@ static int cpu_post_load(void *opaque, int version_id)
}
}
+ hw_breakpoint_update_all(cpu);
hw_watchpoint_update_all(cpu);
return 0;