x86: debugctlmsr arch_has_block_step
authorRoland McGrath <roland@redhat.com>
Wed, 30 Jan 2008 12:30:54 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:54 +0000 (13:30 +0100)
commit10faa81e102e2b7695f386812055cd2ef9e44b4c
treebd21d2094eacca5b07d5ee5977cb0ad57ebc5c02
parent7e9916040b3020d0f36d68bb7512e3b80b623097
x86: debugctlmsr arch_has_block_step

This implements user-mode step-until-branch on x86 using the BTF bit
in MSR_IA32_DEBUGCTLMSR.  It's just like single-step, only less so.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/step.c
arch/x86/kernel/traps_32.c
arch/x86/kernel/traps_64.c
include/asm-x86/ptrace.h