Changeset b5e68c8 in mainline for uspace/lib/c/generic/stacktrace.c
- Timestamp:
- 2011-05-12T16:49:44Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f36787d7
- Parents:
- e80329d6 (diff), 750636a (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/stacktrace.c
re80329d6 rb5e68c8 50 50 51 51 while (stacktrace_fp_valid(&st, fp)) { 52 printf("%p: %p()\n", fp,pc);52 printf("%p: %p()\n", (void *) fp, (void *) pc); 53 53 (void) stacktrace_ra_get(&st, fp, &pc); 54 54 (void) stacktrace_fp_prev(&st, fp, &nfp); … … 61 61 stacktrace_prepare(); 62 62 stacktrace_print_fp_pc(stacktrace_fp_get(), stacktrace_pc_get()); 63 63 64 /* 64 65 * Prevent the tail call optimization of the previous call by 65 66 * making it a non-tail call. 66 67 */ 67 (void) stacktrace_fp_get(); 68 69 printf("-- end of stack trace --\n"); 68 70 } 69 71
Note:
See TracChangeset
for help on using the changeset viewer.