commit | 0017ff42ac37ff6aeb87d0b006c5d32b9a39f5fc | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Sun Nov 28 15:09:36 2010 +0000 |
committer | Will Deacon <will.deacon@arm.com> | Mon Dec 06 11:55:56 2010 +0000 |
tree | ee68bfe2ece2e7223e0802431a1cddd54157d4a2 | |
parent | 7e20269647169e7ea08a62bdc4979a3ba32e615c [diff] |
ARM: hw_breakpoint: don't advertise reserved breakpoints To permit handling of watchpoint exceptions without signalling a debugger, it is necessary to reserve breakpoint registers for in-kernel use only. This patch ensures that we record and subtract the number of reserved breakpoints from the number of usable breakpoint registers that we advertise to userspace via the ptrace API. Signed-off-by: Will Deacon <will.deacon@arm.com>