commit | cf3cc1aa9b6d0bf1750143af65829f4368d77492 | [log] [tgz] |
---|---|---|
author | Viktor Rosendahl <viktor.rosendahl@nokia.com> | Mon Mar 28 18:56:05 2011 +0300 |
committer | Nicolas Pitre <nicolas.pitre@linaro.org> | Thu Apr 28 23:40:54 2011 -0400 |
tree | cc9027ad2b4a7c7d77afa28049ebf7f97abb14d7 | |
parent | 6221f222c0ebf1acdf7abcf927178f40e1a65e2a [diff] |
kprobes/arm: Fix ldrd/strd emulation 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>