eina: add backtrace support to eina.

SVN revision: 70495
This commit is contained in:
Cedric BAIL 2012-04-26 08:10:38 +00:00
parent 8053f61f86
commit cea8c9338c
3 changed files with 10 additions and 2 deletions

View File

@ -258,3 +258,7 @@
2012-04-26 Carsten Haitzler (The Rasterman) 2012-04-26 Carsten Haitzler (The Rasterman)
1.2.0 release 1.2.0 release
2012-04-26 Cedric Bail
* Add backtrace support Eina_Log.

View File

@ -1,5 +1,11 @@
Eina 1.2.0 Eina 1.2.0
Changes since Eina 1.2.0:
-------------------------
Additions:
* Add backtrace support to Eina_Log, use EINA_LOG_BACKTRACE to enable it.
Changes since Eina 1.1.0: Changes since Eina 1.1.0:
------------------------- -------------------------

View File

@ -28,12 +28,10 @@
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#if 0
#if defined HAVE_EXECINFO_H && defined HAVE_BACKTRACE && defined HAVE_BACKTRACE_SYMBOLS #if defined HAVE_EXECINFO_H && defined HAVE_BACKTRACE && defined HAVE_BACKTRACE_SYMBOLS
# include <execinfo.h> # include <execinfo.h>
# define EINA_LOG_BACKTRACE # define EINA_LOG_BACKTRACE
#endif #endif
#endif
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
# include <unistd.h> # include <unistd.h>