summaryrefslogtreecommitdiffstats
path: root/include/osmocore
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocore')
-rw-r--r--include/osmocore/msgb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocore/msgb.h b/include/osmocore/msgb.h
index af0dd1ed..68f0de6a 100644
--- a/include/osmocore/msgb.h
+++ b/include/osmocore/msgb.h
@@ -62,7 +62,9 @@ extern void msgb_reset(struct msgb *m);
#ifdef MSGB_DEBUG
#include <osmocore/panic.h>
+#include <osmocore/gsm_utils.h>
#define MSGB_ABORT(msg, fmt, args ...) do { \
+ generate_backtrace(); \
osmo_panic("msgb(%p)" fmt, ## args); \
} while(0)
#else