Removed vg_default.c, hooray.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3643 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_main.c b/coregrind/vg_main.c
index 3bc1792..45e9f4d 100644
--- a/coregrind/vg_main.c
+++ b/coregrind/vg_main.c
@@ -2872,7 +2872,21 @@
    /* Print Vex storage stats */
    if (0)
        LibVEX_ShowAllocStats();
+}
 
+/* If the tool fails to define one or more of the required functions,
+ * make it very clear what went wrong! */
+// XXX: this is not a very good place for this function.  Hopefully we'll be
+// able to remove it in the future.
+__attribute__ ((noreturn))
+void VG_(missing_tool_func) ( const Char* fn )
+{
+   VG_(printf)(
+      "\nTool error:\n"
+      "  The tool you have selected is missing the function `%s',\n"
+      "  which is required.\n\n",
+      fn);
+   VG_(tool_panic)("Missing tool function");
 }
 
 /*--------------------------------------------------------------------*/