]> err.no Git - linux-2.6/commit
[PATCH] ppc32: fix single-stepping of emulated instructions
authorPaul Mackerras <paulus@samba.org>
Sat, 16 Apr 2005 22:24:17 +0000 (15:24 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:24:17 +0000 (15:24 -0700)
commit6c26e03b2db4b66d79bfb774628c1fc9b458b943
tree1e50046a2daa30da849a88b3ec562a410ebe6f80
parente378cc16b0d3c1610857c4444345907020e03ece
[PATCH] ppc32: fix single-stepping of emulated instructions

On ppc, we emulate instructions that cause alignment exceptions.  If we are
single-stepping an instruction and it causes an alignment exception, we
will currently do the next instruction as well before taking the
single-step exception.  This patch fixes that, so we take the single-step
exception after emulating the instruction.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/kernel/traps.c