diff -Naur valgrind-2.4.0-ppc-050407/coregrind/ppc-linux/core_platform.h valgrind-2.4.0-ppc-050407-modified/coregrind/ppc-linux/core_platform.h --- valgrind-2.4.0-ppc-050407/coregrind/ppc-linux/core_platform.h 2005-04-07 09:32:41.000000000 +0000 +++ valgrind-2.4.0-ppc-050407-modified/coregrind/ppc-linux/core_platform.h 2005-04-21 14:50:36.000000000 +0000 @@ -88,6 +88,8 @@ /* XXX this isn't right because it makes the whole CR valid. */ \ SET_THREAD_REG(zztid, __cr, PLATFORM_SYSCALL_CR, R_CR, \ post_reg_write_syscall_return); \ + SET_THREAD_REG(zztid, zzval, PLATFORM_SYSCALL_RET, R_SYSCALL_RET, \ + post_reg_write_syscall_return); \ } while (0) /* ---------------------------------------------------------------------