summaryrefslogtreecommitdiffstats
path: root/target-arm/cpu.h
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/cpu.h
parent70556264a89a268efba1d7e8e341adcdd7881eb4 (diff)
downloadhqemu-46747d15080a93cc82cac563c1b7b8ffef164bb5.zip
hqemu-46747d15080a93cc82cac563c1b7b8ffef164bb5.tar.gz
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/cpu.h')
-rw-r--r--target-arm/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-arm/cpu.h b/target-arm/cpu.h
index d1e1ccb..fa6ae0a 100644
--- a/target-arm/cpu.h
+++ b/target-arm/cpu.h
@@ -323,6 +323,7 @@ typedef struct CPUARMState {
int eabi;
#endif
+ struct CPUBreakpoint *cpu_breakpoint[16];
struct CPUWatchpoint *cpu_watchpoint[16];
CPU_COMMON
OpenPOWER on IntegriCloud