Final commit for the initial modularisation pass:

- Broke part of m_scheduler off into a new module m_threadstate.  It
  contains ThreadState, VG_(threads)[] and some basic operations on the
  thread table.  All simple stuff, the complex stuff stays in m_scheduler.
  This avoids lots of circular dependencies between m_scheduler and other
  modules.

- Managed to finally remove core.h and tool.h, double hurrah!

- Introduced pub_tool_basics.h and pub_core_basics.h, one of which is
  include by every single C file.

- Lots of little cleanups and changes related to the above.

- I even did a small amount of documentation updating.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3944 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/m_debuglog.c b/coregrind/m_debuglog.c
index 8c47ccc..8cd0136 100644
--- a/coregrind/m_debuglog.c
+++ b/coregrind/m_debuglog.c
@@ -42,12 +42,12 @@
    latter depend on this module.  DO NOT MESS WITH THESE INCLUDES
    UNLESS YOU ARE 100% CERTAIN YOU UNDERSTAND THE CONSEQUENCES.
 */
-/* This module is also different from all others in the sense that it
-   is linked into both stage1 and stage2.  
-*/
-#include "basic_types.h"        /* basic types */
-#include "pub_core_debuglog.h"  /* our own iface */
 
+/* This module is also notable because it is linked into both 
+   stage1 and stage2. */
+
+#include "pub_core_basics.h"     /* basic types */
+#include "pub_core_debuglog.h"   /* our own iface */
 
 /*------------------------------------------------------------*/
 /*--- Stuff to make us completely independent.             ---*/