commit | 5500d70387c7d8097417cf391ea66f82fce605c0 | [log] [tgz] |
---|---|---|
author | Jerome Forissier <jerome@forissier.org> | Fri Jul 31 11:30:54 2020 +0200 |
committer | Jérôme Forissier <jerome@forissier.org> | Mon Aug 03 13:10:36 2020 +0200 |
tree | 6102fd04c6ccb01f082bba434abeb0071350502b | |
parent | 0c33be7a1240bcb4b2418f6ef16e193496fc38ea [diff] |
symbolize.py: infer PC from (E)LR When translating a call stack address to source file and line number, subtract 2 to try and reflect the PC at the time the call was made or the exception occurred. This makes the calls easier to follow and corresponds to what the GDB backtrace command (bt) does. For data or prefetch aborts it is even more important because now we report exactly the line that caused the abort instead of showing the next one, which could be misleading. As a result of this fix, the extra "nop" instruction in __ta_entry() is not needed anymore so remove it. Signed-off-by: Jerome Forissier <jerome@forissier.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
This git contains source code for the secure side implementation of OP-TEE project.
All official OP-TEE documentation has moved to http://optee.readthedocs.io.
// OP-TEE core maintainers