|
From: Florian K. <br...@ac...> - 2011-09-10 21:47:52
|
Hi,
I am looking at a case where valgrind reports:
ERROR SUMMARY: 4 errors from 1 contexts (suppressed: 193 from 8)
but only one error is actually shown. I found that a bit confusing
because I expected 4 errors in the output. Is this by design?
If not then how about this:
Index: m_errormgr.c
===================================================================
--- m_errormgr.c (revision 12004)
+++ m_errormgr.c (working copy)
@@ -925,7 +925,7 @@
/* We only get here if not printing XML. */
VG_(umsg)("ERROR SUMMARY: "
"%d errors from %d contexts (suppressed: %d from %d)\n",
- n_errs_found, n_err_contexts,
+ n_errs_shown, n_err_contexts,
n_errs_suppressed, n_supp_contexts );
if (verbosity <= 1)
@@ -984,7 +984,7 @@
// the first printing
VG_(umsg)("ERROR SUMMARY: "
"%d errors from %d contexts (suppressed: %d from %d)\n",
- n_errs_found, n_err_contexts, n_errs_suppressed,
+ n_errs_shown, n_err_contexts, n_errs_suppressed,
n_supp_contexts );
}
|