Changeset 8751cf3 in mainline for uspace/lib/c/generic/assert.c


Ignore:
Timestamp:
2018-06-19T20:04:17Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
826a0a97
Parents:
3bd1d7d4
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-06-04 20:01:22)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-06-19 20:04:17)
Message:

Print stacktrace on KIO before attempting printf().

File:
1 edited

Legend:

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

    r3bd1d7d4 r8751cf3  
    4949            cond, file, line);
    5050
     51        stacktrace_kio_print();
     52
    5153        /* Sometimes we know in advance that regular printf() would likely fail. */
    5254        abort();
     
    6062        kio_printf("Assertion failed (%s) in file \"%s\", line %u.\n",
    6163            cond, file, line);
     64
     65        stacktrace_kio_print();
    6266
    6367        /*
Note: See TracChangeset for help on using the changeset viewer.