From: Paul Mackerras Date: Wed, 23 Jun 2010 05:46:55 +0000 (+1000) Subject: powerpc, hw_breakpoint: Cooperate better with other single-steppers X-Git-Tag: v2.6.36-rc1~559^2~47^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76b0f1337690d223811c852ad3a5078eb89276c5;p=pandora-kernel.git powerpc, hw_breakpoint: Cooperate better with other single-steppers The code we had to clear the MSR_SE bit was not doing anything because the caller (ultimately single_step_exception() in traps.c) had already cleared. Instead of trying to leave MSR_SE set if the TIF_SINGLESTEP flag is set (which indicates that the process is being single-stepped by ptrace), we instead return NOTIFY_DONE in that case, which means the caller will generate a SIGTRAP for the process. Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed