Renamed vg_errcontext.c as errormgr.c, and carved off the relevant parts of
core.h and tool.h into pub_core_errormgr.h and pub_tool_errormgr.h.  All
just to improve general modularity.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3532 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/Makefile.am b/coregrind/Makefile.am
index 993c3a5..12bf6b7 100644
--- a/coregrind/Makefile.am
+++ b/coregrind/Makefile.am
@@ -27,6 +27,7 @@
 noinst_HEADERS = \
 	core.h			\
 	core_asm.h		\
+	pub_core_errormgr.h	\
 	pub_core_execontext.h	\
 	pub_core_stacktrace.h	\
 	ume.h			\
@@ -51,6 +52,7 @@
 valgrind_LDADD=
 
 stage2_SOURCES = \
+	errormgr.c \
 	execontext.c \
 	stacktrace.c \
 	ume.c \
@@ -58,7 +60,6 @@
 	vg_scheduler.c \
 	vg_default.c \
 	vg_demangle.c \
-	vg_errcontext.c \
 	vg_hashtable.c \
 	vg_replace_malloc.c \
 	vg_main.c \