Changeset 8565a42 in mainline for kernel/generic/src/debug/stacktrace.c
- Timestamp:
- 2018-03-02T20:34:50Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a1a81f69, d5e5fd1
- Parents:
- 3061bc1 (diff), 34e1206 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
- git-committer:
- GitHub <noreply@…> (2018-03-02 20:34:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/debug/stacktrace.c
r3061bc1 r8565a42 48 48 uintptr_t fp; 49 49 uintptr_t pc; 50 50 51 51 while ((cnt++ < STACK_FRAMES_MAX) && 52 52 (ops->stack_trace_context_validate(ctx))) { … … 60 60 } else 61 61 printf("%p: %p()\n", (void *) ctx->fp, (void *) ctx->pc); 62 62 63 63 if (!ops->return_address_get(ctx, &pc)) 64 64 break; 65 65 66 66 if (!ops->frame_pointer_prev(ctx, &fp)) 67 67 break; 68 68 69 69 ctx->fp = fp; 70 70 ctx->pc = pc; … … 96 96 .istate = istate 97 97 }; 98 98 99 99 if (istate_from_uspace(istate)) 100 100 stack_trace_ctx(&ust_ops, &ctx);
Note:
See TracChangeset
for help on using the changeset viewer.