From: Bernhard Urban Date: Sun, 20 May 2012 20:04:19 +0000 (+0200) Subject: debug.h: define DBG_ALL X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=6582761a2d241577625dce725ae8dde680d393dd;hp=54be3c9d4d75913b62865f844109537689c881c0;p=mate.git debug.h: define DBG_ALL --- diff --git a/debug.h b/debug.h index 633b891..4277648 100644 --- a/debug.h +++ b/debug.h @@ -9,6 +9,10 @@ */ /* ooops defines */ +#ifdef BG_ALL +#define DBG_ALL +#endif + #ifdef BG_JIT #define DBG_JIT #endif @@ -41,10 +45,22 @@ * libraries like Text.Printf * needed for gettting proper `-Wall' output on a release build */ -#if defined(DBG_JIT) || defined(DBG_BB) || defined(DBG_MP) || defined(DBG_CP) || defined(DBG_STR) +#if defined(DBG_ALL) || defined(DBG_JIT) || defined(DBG_BB) || defined(DBG_MP) || defined(DBG_CP) || defined(DBG_STR) #define DEBUG #endif +#if defined(DBG_ALL) +#define DBG_JIT +#define DBG_BB +#define DBG_MP +#define DBG_CP +#define DBG_STR +#define DBG_TRAP +#if 0 +#define DBG_CLASS +#endif +#endif + /* it would be awesome if we could just write * > printfFake = printf * here, but the type can't be infered, since `PrintfType'