]> git.baikalelectronics.ru Git - kernel.git/commit
ptrace: arch_has_single_step
authorRoland McGrath <roland@redhat.com>
Wed, 30 Jan 2008 12:30:47 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:47 +0000 (13:30 +0100)
commit2248f390cb16ca6ea2d92bd7628607a834f51fc0
treece916e9e735cdd0202015cd52f5e93b7a2df7011
parentfaca092872bc57090196a814bce757e32e283bdb
ptrace: arch_has_single_step

This defines the new macro arch_has_single_step() in linux/ptrace.h, a
default for when asm/ptrace.h does not define it.  It declares the new
user_enable_single_step and user_disable_single_step functions.
This is not used yet, but paves the way to harmonize on this interface
for the arch-specific calls on all machines.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/ptrace.h