For the CLIENT_CALLn client requests, we must pass in the ThreadId as the
first argument to the function.  This seemingly got lost in the CVS+SVN
merge, which meant that any function called with these client requests was
getting totally mixed-up arguments.  Since TL_(malloc)() and friends are
called this way, this was affecting all tools that replace malloc(), ie.
Memcheck, Addrcheck, Helgrind, Massif.

Massif is now working again for me as a result of this fix.  I haven't tried
the other tools yet.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3349 a5019735-40e9-0310-863c-91ae7b9d1cf9
1 file changed