summaryrefslogtreecommitdiffstats
path: root/src/panic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/panic.c')
-rw-r--r--src/panic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/panic.c b/src/panic.c
index 0c0a9204..5fb7b565 100644
--- a/src/panic.c
+++ b/src/panic.c
@@ -20,6 +20,7 @@
*
*/
+#include <osmocore/gsm_utils.h>
#include <osmocore/panic.h>
#include "../config.h"
@@ -36,6 +37,7 @@ static osmo_panic_handler_t osmo_panic_handler = (void*)0;
static void osmo_panic_default(const char *fmt, va_list args)
{
vfprintf(stderr, fmt, args);
+ generate_backtrace();
abort();
}