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 arm64: VDSO support 2012-09-17 13:42:09 +01:00
.gitignore arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
arm64ksyms.c arm64: Miscellaneous library functions 2012-09-17 13:42:18 +01:00
asm-offsets.c
cputable.c arm64: CPU support 2012-09-17 13:41:59 +01:00
debug-monitors.c arm64: Debugging support 2012-09-17 13:42:14 +01:00
entry-fpsimd.S arm64: Floating point and SIMD 2012-09-17 13:42:13 +01:00
entry.S arm64: Do not include asm/unistd32.h in asm/unistd.h 2012-10-11 10:39:08 +01:00
fpsimd.c arm64: Floating point and SIMD 2012-09-17 13:42:13 +01:00
head.S arm64: Kernel booting and initialisation 2012-09-17 10:24:45 +01:00
hw_breakpoint.c arm64: Debugging support 2012-09-17 13:42:14 +01:00
io.c arm64: Device specific operations 2012-09-17 13:42:04 +01:00
irq.c arm64: IRQ handling 2012-09-17 13:42:02 +01:00
kuser32.S arm64: 32-bit (compat) applications support 2012-09-17 13:42:12 +01:00
Makefile arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
module.c arm64: Loadable modules 2012-09-17 13:42:19 +01:00
perf_event.c arm64: Performance counters support 2012-09-17 13:42:17 +01:00
process.c arm64: Process management 2012-09-17 13:41:58 +01:00
ptrace.c arm64: ptrace: use HW_BREAKPOINT_EMPTY type for disabled breakpoints 2012-10-18 20:15:34 +01:00
setup.c arm64: Ignore memory blocks below PHYS_OFFSET 2012-10-18 20:14:00 +01:00
signal32.c arm64: Do not include asm/unistd32.h in asm/unistd.h 2012-10-11 10:39:08 +01:00
signal.c arm64: Signal handling support 2012-09-17 13:42:10 +01:00
smp.c arm64: Remove duplicate inclusion of mmu_context.h in smp.c 2012-10-16 17:17:45 +01:00
stacktrace.c arm64: Exception handling 2012-09-17 10:24:46 +01:00
sys32.S arm64: Do not include asm/unistd32.h in asm/unistd.h 2012-10-11 10:39:08 +01:00
sys_compat.c UAPI headers for arm64 together with some clean-up to make it possible: 2012-10-13 11:20:04 +09:00
sys.c vfs: define struct filename and have getname() return it 2012-10-12 20:14:55 -04:00
time.c arm64: Generic timers support 2012-09-17 13:42:20 +01:00
traps.c arm64: Exception handling 2012-09-17 10:24:46 +01:00
vdso.c arm64: Fix the update_vsyscall() prototype 2012-10-18 20:14:00 +01:00
vmlinux.lds.S arm64: Build infrastructure 2012-09-17 13:42:21 +01:00