Searched hist:"5500 d70387c7d8097417cf391ea66f82fce605c0" (Results 1 – 2 of 2) sorted by relevance
| /optee_os/ta/arch/arm/ |
| H A D | ta_entry_a32.S | 5500d70387c7d8097417cf391ea66f82fce605c0 Fri Jul 31 09:30:54 UTC 2020 Jerome Forissier <jerome@forissier.org> 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>
|
| /optee_os/scripts/ |
| H A D | symbolize.py | 5500d70387c7d8097417cf391ea66f82fce605c0 Fri Jul 31 09:30:54 UTC 2020 Jerome Forissier <jerome@forissier.org> 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>
|