projects
/
osmocom-bb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
929d887
)
generate backtrace in msgb_abort()
author
Harald Welte
<laforge@gnumonks.org>
Fri, 5 Nov 2010 06:49:39 +0000
(07:49 +0100)
committer
Harald Welte
<laforge@gnumonks.org>
Fri, 5 Nov 2010 06:52:22 +0000
(07:52 +0100)
This helps us to debug where we encounter insufficient headroom...
include/osmocore/msgb.h
patch
|
blob
|
history
diff --git
a/include/osmocore/msgb.h
b/include/osmocore/msgb.h
index
af0dd1e
..
68f0de6
100644
(file)
--- 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