Will Deacon 8f34a1da35 arm64: ptrace: use HW_BREAKPOINT_EMPTY type for disabled breakpoints
If a debugger tries to zero a hardware debug control register, the
kernel will try to infer both the type and length of the breakpoint
in order to sanity-check against the requested regset type. This will
fail because the encoding will appear as a zero-length breakpoint.

This patch changes the control register setting so that disabled
breakpoints are treated as HW_BREAKPOINT_EMPTY and no further
sanity-checking is required.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2012-10-18 20:15:34 +01:00
..
2012-09-17 13:42:09 +01:00
2012-09-17 13:42:21 +01:00
2012-09-17 13:41:59 +01:00
2012-09-17 13:42:14 +01:00
2012-09-17 13:42:13 +01:00
2012-09-17 13:42:13 +01:00
2012-09-17 13:42:14 +01:00
2012-09-17 13:42:04 +01:00
2012-09-17 13:42:02 +01:00
2012-09-17 13:42:21 +01:00
2012-09-17 13:42:19 +01:00
2012-09-17 13:41:58 +01:00
2012-09-17 13:42:10 +01:00
2012-09-17 10:24:46 +01:00
2012-09-17 13:42:20 +01:00
2012-09-17 10:24:46 +01:00
2012-09-17 13:42:21 +01:00