target-arm: Implement checking of fired watchpoint
commit3826121d9298cde1d29ead05910e1f40125ee9b0
authorSergey Fedorov <serge.fdrv@gmail.com>
Thu, 11 Feb 2016 11:17:32 +0000 (11 11:17 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 11 Feb 2016 11:17:32 +0000 (11 11:17 +0000)
tree4b66b027afa3bfca6b27a73f935106e4b295c4d5
parent568496c0c0f1863a4bc18539962cd8d81baa4e30
target-arm: Implement checking of fired watchpoint

ARM stops before access to a location covered by watchpoint. Also, QEMU
watchpoint fire is not necessarily an architectural watchpoint match.
Unfortunately, that is hardly possible to ignore a fired watchpoint in
debug exception handler. So move watchpoint check from debug exception
handler to the dedicated watchpoint checking callback.

Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1454256948-10485-3-git-send-email-serge.fdrv@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/cpu.c
target-arm/internals.h
target-arm/op_helper.c