Changeset c7bbf029 in mainline for uspace/lib/c/generic/stacktrace.c


Ignore:
Timestamp:
2011-04-21T15:45:31Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7da90cd
Parents:
d161715
Message:

improve stack traces and assertions
reduce header files pollution

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/stacktrace.c

    rd161715 rc7bbf029  
    6161        stacktrace_prepare();
    6262        stacktrace_print_fp_pc(stacktrace_fp_get(), stacktrace_pc_get());
     63       
    6364        /*
    6465         * Prevent the tail call optimization of the previous call by
    6566         * making it a non-tail call.
    6667         */
    67         (void) stacktrace_fp_get();
     68       
     69        printf("-- end of stack trace --\n");
    6870}
    6971
Note: See TracChangeset for help on using the changeset viewer.