From: Oleg Nesterov Date: Wed, 16 Dec 2009 00:47:17 +0000 (-0800) Subject: ptrace: introduce user_single_step_siginfo() helper X-Git-Tag: v2.6.33-rc1~71^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85ec7fd9f8e528c4f61d595cfe4df7681a19f252;p=pandora-kernel.git ptrace: introduce user_single_step_siginfo() helper Suggested by Roland. Currently there is no way to synthesize a single-stepping trap in the arch-independent manner. This patch adds the default helper which fills siginfo_t, arch/ can can override it. Architetures which implement user_enable_single_step() should add user_single_step_siginfo() also. Signed-off-by: Oleg Nesterov Acked-by: Roland McGrath Cc: Cc: Ingo Molnar Cc: Thomas Gleixner Cc: "H. Peter Anvin" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed