From: Ananth N Mavinakayanahalli Date: Fri, 28 Apr 2006 12:08:42 +0000 (+0530) Subject: [PATCH] powerpc/kprobes: fix singlestep out-of-line X-Git-Tag: v2.6.17-rc4~41^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ccde0a290b44b8296b82a7683b4c299eb51ba6b;p=pandora-kernel.git [PATCH] powerpc/kprobes: fix singlestep out-of-line We currently single-step inline if the instruction on which a kprobe is inserted is a trap variant. - variants (such as tdnei, used by BUG()) typically evaluate a condition and cause a trap only if the condition is satisfied. - kprobes uses the unconditional "trap" (0x7fe00008) and single-stepping again on this instruction, resulting in another trap without evaluating the condition is obviously incorrect. Signed-off-by: Ananth N Mavinakayanahalli Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed