From: Tom Hughes Date: Thu, 26 Aug 2004 12:26:27 +0000 (+0000) Subject: Include the filename in the system call trace for the access syscall. X-Git-Tag: svn/VALGRIND_2_2_0~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22681c7c0aa44a06b88370e0dd18c1d5d5d2502a;p=thirdparty%2Fvalgrind.git Include the filename in the system call trace for the access syscall. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2622 --- diff --git a/coregrind/vg_syscalls.c b/coregrind/vg_syscalls.c index c279aaee39..1efebd3213 100644 --- a/coregrind/vg_syscalls.c +++ b/coregrind/vg_syscalls.c @@ -1838,7 +1838,7 @@ PRE(execve) PRE(access) { /* int access(const char *pathname, int mode); */ - MAYBE_PRINTF("access ( %p, %d )\n", arg1,arg2); + MAYBE_PRINTF("access ( %p(%s), %d )\n", arg1,arg1,arg2); SYSCALL_TRACK( pre_mem_read_asciiz, tid, "access(pathname)", arg1 ); }