aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-11-20 13:05:48 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-11-20 13:07:02 +0100
commitff5fa4e45595671cbaf5b319eb6b6b3451b39874 (patch)
tree1e88e435fd517d7e5016437196c6657ef7e50c33
parent32201c50a53aa7981628bef14388067bc3706bf0 (diff)
[debug] Add a debug area for the MGCP code of On Waves
-rw-r--r--openbsc/include/openbsc/debug.h2
-rw-r--r--openbsc/src/debug.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/debug.h b/openbsc/include/openbsc/debug.h
index c8c0013d9..447c3584f 100644
--- a/openbsc/include/openbsc/debug.h
+++ b/openbsc/include/openbsc/debug.h
@@ -23,6 +23,8 @@
#define DSCCP 0x10000
#define DMSC 0x20000
+#define DMGCP 0x40000
+
#ifdef DEBUG
#define DEBUGP(ss, fmt, args...) debugp(ss, __FILE__, __LINE__, 0, fmt, ## args)
#define DEBUGPC(ss, fmt, args...) debugp(ss, __FILE__, __LINE__, 1, fmt, ## args)
diff --git a/openbsc/src/debug.c b/openbsc/src/debug.c
index f88a90475..5dc2e0ff7 100644
--- a/openbsc/src/debug.c
+++ b/openbsc/src/debug.c
@@ -59,6 +59,7 @@ static const struct debug_info debug_info[] = {
DEBUG_CATEGORY(DMEAS, "DMEAS", "", "")
DEBUG_CATEGORY(DSCCP, "DSCCP", "", "")
DEBUG_CATEGORY(DMSC, "DMSC", "", "")
+ DEBUG_CATEGORY(DMGCP, "DMGCP", "", "")
};
static int use_color = 1;