==6476== Valgrind detected that your program requires ==6476== the following unimplemented functionality: ==6476== modify_ldt(): I (JRS) haven't investigated this yet; sorry. ==6476== This may be because the functionality is hard to implement, ==6476== or because no reasonable program would behave this way, ==6476== or because nobody has yet needed it. In any case, let me know ==6476== (jseward@acm.org) and/or try to work around the problem, if you can.
Which version of Valgrind is this ? According to the web page, 1.1.0 should support this system call : 'Specifically, valgrind can now deal with x86 segment registers, segment override prefixes and the modify_ldt system call'.
But well, for it to really be useful, we would need then also to override in Valgrind (or in Wine) all the Threading and Heap functions.
Lionel