|
From: Adam G. <ar...@cy...> - 2003-07-21 09:53:33
|
At 11:50 18/07/2003 -0700, Jeremy Fitzhardinge <je...@go...> wrote: >On Fri, 2003-07-18 at 06:48, Daniel Blueman wrote: >> This app uses: >> >> res = __clone(lwp, stack + STACK_SIZE, >> CLONE_VM | CLONE_FS | CLONE_FILES | CLONE_SIGHAND, >> (void *) ctx)) == -1); >> >> Perhaps this is a varient that valgrind does not support? > >Valgrind does not currently support any variant of clone. We are >considering adding clone support, but I don't think it will be possible >to do all (or even many) of the possible combinations of CLONE_* flags - >but fortunately it seems that something like the flag set above would >cover almost all real uses of clone(). the WINE variant of valgrind _does_ have support for clone(). currently it only supports CLONE_VM | CLONE_FS | CLONE_FILES (not CLONE_SIGHAND). I'm not sure if it could be made to support CLONE_SIGHAND easily. Seeya, Adam -- Real Programmers don't comment their code. If it was hard to write, it should be hard to read, and even harder to modify. These are all my own opinions. |