]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: debug: consolidate software breakpoint handlers
authorWill Deacon <will.deacon@arm.com>
Sat, 16 Mar 2013 08:48:13 +0000 (08:48 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 12 Jun 2013 10:23:02 +0000 (11:23 +0100)
commitae73e72b80f3c9fe9a8aa76774013918b0705fab
tree440be3115d6d3ac4aa766c295d9b15c8160da38f
parent7f01c759bd250d5738f204481f632e982d592199
arm64: debug: consolidate software breakpoint handlers

The software breakpoint handlers are hooked in directly from ptrace,
which makes it difficult to add additional handlers for things like
kprobes and kgdb.

This patch moves the handling code into debug-monitors.c, where we can
dispatch to different debug subsystems more easily.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/debug-monitors.h
arch/arm64/include/asm/ptrace.h
arch/arm64/kernel/debug-monitors.c
arch/arm64/kernel/ptrace.c
arch/arm64/kernel/traps.c