De-convolute somewhat the client request usage for reporting overlap errors.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3407 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/memcheck/mac_needs.c b/memcheck/mac_needs.c
index 8612a72..705e271 100644
--- a/memcheck/mac_needs.c
+++ b/memcheck/mac_needs.c
@@ -904,9 +904,12 @@
       return True;
    }
 
-   case _VG_USERREQ__MEMCHECK_GET_RECORD_OVERLAP:
-      *ret = (Addr)MAC_(record_overlap_error);
+   case _VG_USERREQ__MEMCHECK_RECORD_OVERLAP_ERROR: {
+      Char*         s     = (Char*)        arg[1];
+      OverlapExtra* extra = (OverlapExtra*)arg[2];
+      MAC_(record_overlap_error)(tid, s, extra);
       return True;
+   }
 
    case VG_USERREQ__CREATE_MEMPOOL: {
       Addr pool      = (Addr)arg[1];