8f34a1da35
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> |
||
---|---|---|
.. | ||
vdso | ||
.gitignore | ||
arm64ksyms.c | ||
asm-offsets.c | ||
cputable.c | ||
debug-monitors.c | ||
entry-fpsimd.S | ||
entry.S | ||
fpsimd.c | ||
head.S | ||
hw_breakpoint.c | ||
io.c | ||
irq.c | ||
kuser32.S | ||
Makefile | ||
module.c | ||
perf_event.c | ||
process.c | ||
ptrace.c | ||
setup.c | ||
signal32.c | ||
signal.c | ||
smp.c | ||
stacktrace.c | ||
sys32.S | ||
sys_compat.c | ||
sys.c | ||
time.c | ||
traps.c | ||
vdso.c | ||
vmlinux.lds.S |