linux/arch/arm64/kernel
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
..
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 arm64: ptrace: use HW_BREAKPOINT_EMPTY type for disabled breakpoints 2012-10-18 20:15:34 +01:00
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