Implement a GDB server in Valgrind. See #214909.
(Philippe Waroquiers, philippe.waroquiers@skynet.be)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11727 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/pub_core_errormgr.h b/coregrind/pub_core_errormgr.h
index 2b72b03..c3462e0 100644
--- a/coregrind/pub_core_errormgr.h
+++ b/coregrind/pub_core_errormgr.h
@@ -51,7 +51,14 @@
extern void VG_(load_suppressions) ( void );
-extern void VG_(show_all_errors) ( void );
+// if verbosity == 0, print nothing.
+// else if xml print suppressions used (in xml format)
+// else if verbosity == 1 print Error summary
+// else print all errors and suppressions used.
+extern void VG_(show_all_errors) ( Int verbosity, Bool xml );
+
+/* Print (in readable format) the last error that occured. */
+extern void VG_(show_last_error) ( void );
extern void VG_(show_error_counts_as_XML) ( void );