kernel/arm: fix frame pointer after unwinding iframe
Change-Id: I285896ff6624e26695e282d02011a31de32fc297 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5678 Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
This commit is contained in:
parent
799ab823bb
commit
537d67ae5c
@ -414,8 +414,8 @@ stack_trace(int argc, char **argv)
|
||||
kprintf(" SPu 0x%08x LRu 0x%08x SPSR 0x%08x\n",
|
||||
frame->usr_sp, frame->usr_lr, frame->spsr);
|
||||
|
||||
fp = frame->svc_sp;
|
||||
print_stack_frame(thread, frame->pc, frame->svc_sp, frame->svc_lr, callIndex, demangle);
|
||||
print_stack_frame(thread, frame->pc, fp, frame->r11, callIndex, demangle);
|
||||
fp = frame->r11;
|
||||
} else {
|
||||
addr_t ip, next;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user