]> git.karo-electronics.de Git - mv-sheeva.git/commit
ptrace: x86: implement user_single_step_siginfo()
authorOleg Nesterov <oleg@redhat.com>
Wed, 16 Dec 2009 00:47:20 +0000 (16:47 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Dec 2009 15:20:08 +0000 (07:20 -0800)
commit7f38551fc3ff0e17a38d6f3f0f8831380a88f3cc
tree80a2618da48e46c3918a15cbd72bf2149fe2bd75
parent2f0edac5555983dc28033acce8a355f588fd01b2
ptrace: x86: implement user_single_step_siginfo()

Suggested by Roland.

Implement user_single_step_siginfo() for x86.  Extract this code from
send_sigtrap().

Since x86 calls tracehook_report_syscall_exit(step => 0) the new helper is
not used yet.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Roland McGrath <roland@redhat.com>
Cc: <linux-arch@vger.kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/include/asm/ptrace.h
arch/x86/kernel/ptrace.c