kprobes/arm: Fix ldrd/strd emulation
authorViktor Rosendahl <viktor.rosendahl@nokia.com>
Mon, 28 Mar 2011 15:56:05 +0000 (18:56 +0300)
committerNicolas Pitre <nicolas.pitre@linaro.org>
Fri, 29 Apr 2011 03:40:54 +0000 (23:40 -0400)
Currently emulate_ldrd and emulate_strd don't even have the adjustment
of the PC value, so in case of Rn == PC, it will not update the PC
incorrectly but instead load/store from the wrong address.  Let's add
both the adjustment of the PC value and the check for PC == PC.

Signed-off-by: Viktor Rosendahl <viktor.rosendahl@nokia.com>
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>

No differences found