[PATCH 2/7] KVM: arm: guest debug, define API headers
peter.maydell at linaro.org
Tue Nov 25 09:13:04 PST 2014
On 25 November 2014 at 17:05, Paolo Bonzini <pbonzini at redhat.com> wrote:
> So there is no register that says "this breakpoint has triggered" or
> "this watchpoint has triggered"?
Nope. You take a debug exception; the syndrome register tells
you if it was a bp or a wp, and if it was a wp the fault address
register tells you the address being accessed (if it was a bp
you know the program counter, obviously). The debugger is expected
to be able to figure it out from there, if it cares.
More information about the linux-arm-kernel