|
From: Craig C. <cc...@us...> - 2005-04-21 15:05:27
|
Hi, This patch applies to Paul Mackerras' latest Valgrind PPC port (http://ozlabs.org/~paulus/valgrind-2.4.0-ppc-050407.tar.bz2). The sleep() call was returning immediately with a non-zero return code when running under valgrind. I tracked this down to the sigprocmask system call erroneously returning a non-zero return code. The ppc version of the macro that the sigprocmask code was using to set its return value did not put the result into the result register. The attached patch updates this macro (SET_SYSCALL_RETVAL). Thanks, Craig -- Craig Chaney cc...@us... |