diff options
Diffstat (limited to 'include/common/debug.h')
-rw-r--r-- | include/common/debug.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/common/debug.h b/include/common/debug.h index 4c5560f5..ee25af12 100644 --- a/include/common/debug.h +++ b/include/common/debug.h @@ -83,6 +83,12 @@ # define VERBOSE(...) no_tf_log(LOG_MARKER_VERBOSE __VA_ARGS__) #endif +#if ENABLE_BACKTRACE +void backtrace(const char *cookie); +#else +#define backtrace(x) +#endif + void __dead2 do_panic(void); #define panic() do_panic() |