diff options
author | Will Deacon <will.deacon@arm.com> | 2011-08-02 08:01:17 -0400 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2011-08-31 05:42:48 -0400 |
commit | c512de955f0982aafa49d3f00d5643052a6790e5 (patch) | |
tree | 5bf3d463211f174ccf724e82be07cdf800b3168d /arch/um | |
parent | b5d5b8f98641edac6641af9e19e933083ade603b (diff) |
ARM: hw_breakpoint: reserve one breakpoint for watchpoint stepping
The current hw_breakpoint code on ARM reserves 1 breakpoint for each
watchpoint that is available. Since debug architectures prior to 7.1
are restricted to 1 watchpoint anyway, only one breakpoint was ever
reserved.
This patch changes the reservation strategy so that a single breakpoint
is reserved, regardless of the number of watchpoints. This is in
preparation for multiple-watchpoint support on debug architectures
from 7.1 onwards.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/um')
0 files changed, 0 insertions, 0 deletions