aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/hw_breakpoint.h
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2011-08-02 13:01:17 +0100
committerWill Deacon <will.deacon@arm.com>2011-08-31 10:42:48 +0100
commitc512de955f0982aafa49d3f00d5643052a6790e5 (patch)
tree5bf3d463211f174ccf724e82be07cdf800b3168d /arch/arm/include/asm/hw_breakpoint.h
parentb5d5b8f98641edac6641af9e19e933083ade603b (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/arm/include/asm/hw_breakpoint.h')
0 files changed, 0 insertions, 0 deletions