aarch64: traceback: fix incorrect base pointer on manual traceback
This commit is contained in:
parent
595727be1d
commit
1695ca6652
@ -102,6 +102,6 @@ void aarch64_safe_dump_traceback(uintptr_t elr, struct regs * r) {
|
||||
* @brief Display a traceback from the current call context.
|
||||
*/
|
||||
void arch_dump_traceback(void) {
|
||||
dump_traceback((uintptr_t)arch_dump_traceback+1, (uintptr_t)__builtin_frame_address(0), (uintptr_t)__builtin_return_address(0));
|
||||
dump_traceback((uintptr_t)arch_dump_traceback+1, (uintptr_t)__builtin_frame_address(1), (uintptr_t)__builtin_return_address(0));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user