Author: bart
Date: 2008-03-09 08:46:11 +0000 (Sun, 09 Mar 2008)
New Revision: 7606

Log:
More information is now printed if a data race is detected in dynamically 
allocated memory.

Modified:
   trunk/exp-drd/drd_error.c


Modified: trunk/exp-drd/drd_error.c
===================================================================
--- trunk/exp-drd/drd_error.c   2008-03-09 08:44:33 UTC (rev 7605)
+++ trunk/exp-drd/drd_error.c   2008-03-09 08:46:11 UTC (rev 7606)
@@ -248,6 +248,9 @@
    }
    else if (ai.akind == eMallocd && ai.lastchange)
    {
+      VG_(message)(Vg_UserMsg,
+                   "Address 0x%08lx is at offset %ld. Allocation context:",
+                   dri->addr, ai.rwoffset);
       VG_(pp_ExeContext)(ai.lastchange);
    }
    else


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Valgrind-developers mailing list
Valgrind-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-developers

Reply via email to