diff options
author | Ananth N Mavinakayanahalli <ananth@in.ibm.com> | 2006-04-28 14:08:42 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-05-03 15:06:41 +0200 |
commit | 0ccde0a290b44b8296b82a7683b4c299eb51ba6b (patch) | |
tree | cc586aa319da07dcda8f91e3ee03d9da960d5fac /include/asm-ppc/commproc.h | |
parent | [PATCH] powerpc/pseries: avoid crash in PCI code if mem system not up (diff) | |
download | linux-0ccde0a290b44b8296b82a7683b4c299eb51ba6b.tar.xz linux-0ccde0a290b44b8296b82a7683b4c299eb51ba6b.zip |
[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 <ananth@in.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc/commproc.h')
0 files changed, 0 insertions, 0 deletions