Merge branch 'development' into LTS_development

This commit is contained in:
Erik Zandvliet 2017-07-19 17:43:11 +02:00 committed by Thulinma
commit a2b83e0cd3
9 changed files with 675 additions and 687 deletions

View file

@ -37,6 +37,9 @@ static const char * DBG_LVL_LIST[] = {"NONE", "FAIL", "ERROR", "WARN", "INFO", "
#endif
#endif
#if defined(_WIN32) || defined(__CYGWIN__)
static inline void show_stackframe(){}
#else
#include <execinfo.h>
static inline void show_stackframe() {
void *trace[16];
@ -52,6 +55,7 @@ static inline void show_stackframe() {
DEBUG_MSG(0, "Backtrace[%d]: %s", i, messages[i]+p);
}
}
#endif
#else