224bef8ec4
The ip values being reported are always pointing at the next instruction to execute, not the currently executing instruction. Change the ip address to point at the currently executing instruction. This fixes a problem where the next instruction is not actually part of the same function, so if an addr2line is used, it reports the wrong value. This does not modify the ip for mips. Bug: 22565486 Change-Id: Ie0df4c9727f62ce06948b9a2b0e4b7956eb6e752