From 4e121e5bb45f79ec61dc2c01c7625ccf215d8457 Mon Sep 17 00:00:00 2001 From: Masatake YAMATO Date: Wed, 16 Apr 2014 15:33:05 +0900 Subject: [PATCH] unwind: introduce own debug macro * unwind.c (DPRINTF): New macro, to be utilized in debugging cache management code. Signed-off-by: Masatake YAMATO --- unwind.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unwind.c b/unwind.c index 3aa13d25..e4beb285 100644 --- a/unwind.c +++ b/unwind.c @@ -28,6 +28,8 @@ #include #include +#define DPRINTF(F, A, ...) if (debug_flag) fprintf(stderr, " [unwind(" A ")] " F "\n", __VA_ARGS__) + /* * Кeep a sorted array of cache entries, * so that we can binary search through it.