|
From: Julian S. <js...@ac...> - 2003-11-03 14:43:00
|
CVS commit by jseward:
Merge rev 1.52:
Add missing printf and pre_mem_read to rt_sigtimedwait(), thanks to Thomas
Lussnig <lu...@sm...>.
M +7 -2 vg_syscalls.c 1.40.2.5
--- valgrind/coregrind/vg_syscalls.c #1.40.2.4:1.40.2.5
@@ -1241,4 +1241,9 @@ void VG_(perform_assumed_nonblocking_sys
/* 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,
|