commit | 7c1a19a02dea1dfe8d1b15335937b8df704d2dec | [log] [tgz] |
---|---|---|
author | tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Wed Jan 02 10:13:04 2008 +0000 |
committer | tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Wed Jan 02 10:13:04 2008 +0000 |
tree | 132401a5e1e5e476a137f45983f59598bf92c3f7 | |
parent | 9e86a1277968292568f37c8bd2c472c1a5be478b [diff] |
Mark the main thread as running while the initial memory declarations are made to the tool so that the tool can associate that memory with the main thread if it wishes. Also cleanup existing hacks in the drd tool which worked around the fact that the core did not set the current thread while declaring the initial memory. Path from Bart Van Assche <bart.vanassche@gmail.com>. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7310 a5019735-40e9-0310-863c-91ae7b9d1cf9