target-arm: Implement handling of breakpoint firing
commit0eacea706060f9c53998896696b5f94cf49b8f03
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 29 Sep 2014 17:48:46 +0000 (29 18:48 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 29 Sep 2014 17:48:46 +0000 (29 18:48 +0100)
tree91e8570b960d11167e8fded480262493dea5f23c
parent46747d15080a93cc82cac563c1b7b8ffef164bb5
target-arm: Implement handling of breakpoint firing

Implement handling of breakpoint event firing to correctly
inject the debug exception into the guest.

Since the breakpoint and watchpoint control register format is
very similar we adjust wp_matches() to also handle breakpoints
as well rather than using a separate function.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1410523465-13400-3-git-send-email-peter.maydell@linaro.org
target-arm/internals.h
target-arm/op_helper.c