commit | ad47ff3e33503e0969db2d4f9a40942aa6414598 | [log] [tgz] |
---|---|---|
author | Anton Blanchard <anton@samba.org> | Tue Sep 19 20:45:52 2017 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Wed Sep 20 13:30:09 2017 +1000 |
tree | 72e71f6421b60dac07e2ed2a39f2fb36d628cd14 | |
parent | c1fa0768a8713b135848f78fd43ffc208d8ded70 [diff] |
powerpc/sstep: Fix issues with set_cr0() set_cr0() broke when we changed analyse_instr() to not modify the register state. Instead of looking at regs->gpr[x] which has not been updated yet, we need to look at op->val. Fixes: 3cdfcbfd32b9 ("powerpc: Change analyse_instr so it doesn't modify *regs") Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>