summaryrefslogtreecommitdiffstats
path: root/runtime/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/debug.h')
-rw-r--r--runtime/debug.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/debug.h b/runtime/debug.h
index ce0c3943..5c9cca74 100644
--- a/runtime/debug.h
+++ b/runtime/debug.h
@@ -38,8 +38,14 @@
printk(args); \
} \
} while (0)
+
+#define dbug_trans2(args...) do { \
+ printk("%s:%d ",__FUNCTION__, __LINE__); \
+ printk(args); \
+ } while (0)
#else
#define dbug_trans(level, args...) ;
+#define dbug_trans2(args...) ;
#endif
#ifdef DEBUG_UNWIND /* stack unwinder */