Changeset 40cb845e in mainline for uspace/lib/libc/include/stdlib.h


Ignore:
Timestamp:
2009-12-30T19:21:45Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a7a0417
Parents:
26b50cb (diff), f0452536 (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.
Message:

Merge the stack tracing branch.

So far, only userspace stack tracing on amd64, ia32 and sparc64 is supported.
Other architectures have dummy support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/include/stdlib.h

    r26b50cb r40cb845e  
    3838#include <unistd.h>
    3939#include <malloc.h>
     40#include <stacktrace.h>
    4041
    41 #define abort()       _exit(1)
     42#define abort() \
     43        do { \
     44                stack_trace(); \
     45                _exit(1); \
     46        } while (0)
     47
    4248#define exit(status)  _exit((status))
    4349
Note: See TracChangeset for help on using the changeset viewer.