Started adding backtrace functionality for Win32, but need to find a replacement for kill and sigsetjmp/siglongjmp since mingw doesn't support them ....

This commit is contained in:
2011-07-26 22:43:13 -04:00
parent 216750dcd0
commit 8a10c7a1fe
5 changed files with 307 additions and 7 deletions

7
backtrace.h Normal file
View File

@@ -0,0 +1,7 @@
#ifndef __BACKTRACE_H__
#define __BACKTRACE_H__
extern int backtrace(void **buffer, int size);
extern char **backtrace_symbols(void *const *buffer, int size);
#endif // __BACKTRACE_H__