Get core dumping working again - the architecture specific code that 
was in the sigframe module has been moved into the coredump module 
where it belongs and things fixed up to compiler again.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4970 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/Makefile.am b/coregrind/Makefile.am
index 8981459..9e4ae81 100644
--- a/coregrind/Makefile.am
+++ b/coregrind/Makefile.am
@@ -18,6 +18,7 @@
 
 # Remember to include all the arch-specific files in the distribution.
 EXTRA_DIST = \
+        $(addsuffix .c,$(addprefix m_coredump/coredump-,$(VG_PLATFORM_ALL))) \
         $(addsuffix .S,$(addprefix m_dispatch/dispatch-,$(VG_PLATFORM_ALL))) \
         $(addsuffix .c,$(addprefix m_sigframe/sigframe-,$(VG_PLATFORM_ALL))) \
         $(addsuffix .S,$(addprefix m_syswrap/syscall-,$(VG_PLATFORM_ALL))) \
@@ -75,6 +76,7 @@
 	vki_unistd-amd64-linux.h\
 	vki_unistd-ppc32-linux.h\
 	vki_unistd-x86-linux.h	\
+	m_coredump/priv_elf.h	\
 	m_debuginfo/priv_symtab.h	\
 	m_debuginfo/priv_symtypes.h	\
 	m_demangle/ansidecl.h	\
@@ -97,7 +99,6 @@
 
 libcoregrind_a_SOURCES = \
 	m_commandline.c \
-	m_coredump.c \
 	m_cpuid.S \
 	m_clientstate.c \
 	m_debugger.c \
@@ -132,6 +133,8 @@
 	m_ume.c \
 	m_aspacemgr/read_procselfmaps.c \
 	m_aspacemgr/aspacemgr.c \
+	m_coredump/coredump-elf.c \
+	m_coredump/coredump-@VG_PLATFORM@.c \
 	m_debuginfo/dwarf.c \
 	m_debuginfo/stabs.c \
 	m_debuginfo/symtab.c \