|
From: Tom H. <th...@cy...> - 2003-11-20 10:20:00
|
In message <Pin...@gr...>
Nicholas Nethercote <nj...@ca...> wrote:
> On Tue, 18 Nov 2003, Jeremy Fitzhardinge wrote:
>
>> OK, I've had even more of a look into what's happening here. The quick
>> answer is that is can probably be done without too much nastiness,
>> though our libpthread will need to know some of glibc's secret
>> knowledge.
>
> We've mentioned before the idea of dropping Valgrind's libpthread.so, and
> just doing some low-level clone() interception... would that get around
> any/all this NPTL/TLS nastiness?
It should do, yes. We would just need to track the calls being made
to set_pthread_area and clone with the TLS option.
I'm working on trying to get things going with those functions Jeremy
found anyway...
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|