Fix #3439: -debug implies -ticky, and -ticky code links with any RTS
[ghc-hetmet.git] / includes / rts / Config.h
index ce332fa..c67b530 100644 (file)
@@ -1,12 +1,16 @@
 /* -----------------------------------------------------------------------------
  *
- * (c) The GHC Team, 1998-2004
+ * (c) The GHC Team, 1998-2009
  *
  * Rts settings.
  *
  * NOTE: assumes #include "ghcconfig.h"
  * 
  * NB: THIS FILE IS INCLUDED IN NON-C CODE AND DATA!  #defines only please.
+ *
+ * To understand the structure of the RTS headers, see the wiki:
+ *   http://hackage.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ *
  * ---------------------------------------------------------------------------*/
 
 #ifndef RTS_CONFIG_H
 #define USING_LIBBFD 1
 #endif
 
+/* DEBUG implies TRACING and TICKY_TICKY
+ */
+#if defined(DEBUG)
+#define TRACING
+#define TICKY_TICKY
+#endif
+
 /* -----------------------------------------------------------------------------
    Signals - supported on non-PAR versions of the runtime.  See RtsSignals.h.
    -------------------------------------------------------------------------- */