From: Nicholas Nethercote Date: Sat, 1 Nov 2003 14:03:37 +0000 (+0000) Subject: Add missing printf and pre_mem_read to rt_sigtimedwait(), thanks to Thomas X-Git-Tag: svn/VALGRIND_2_1_0~89 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ddc388cfd7c98a0c0db4c8d1c3aec46ab9115c47;p=thirdparty%2Fvalgrind.git Add missing printf and pre_mem_read to rt_sigtimedwait(), thanks to Thomas Lussnig . MERGE TO STABLE git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1978 --- diff --git a/coregrind/vg_syscalls.c b/coregrind/vg_syscalls.c index e0cf79121f..566ed0dd73 100644 --- a/coregrind/vg_syscalls.c +++ b/coregrind/vg_syscalls.c @@ -3957,6 +3957,10 @@ PRE(rt_sigtimedwait) { /* int sigtimedwait(const sigset_t *set, siginfo_t *info, const struct timespec timeout); */ + MAYBE_PRINTF("sigtimedwait ( %p, %p, timeout )\n", arg1, arg2); + if (arg1 != (UInt)NULL) + SYSCALL_TRACK( pre_mem_read, tid, "sigtimedwait(set)", arg1, + sizeof(vki_ksigset_t)); if (arg2 != (UInt)NULL) SYSCALL_TRACK( pre_mem_write, tid, "sigtimedwait(info)", arg2, sizeof(siginfo_t) );