From: Julian Seward Date: Fri, 9 Nov 2007 23:24:09 +0000 (+0000) Subject: Oops (a second time), this was missed out of r7118 (Merge (from X-Git-Tag: svn/VALGRIND_3_3_0~165 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33e93b45148607a41da907bd3b8e875629d9de35;p=thirdparty%2Fvalgrind.git Oops (a second time), this was missed out of r7118 (Merge (from branches/THRCHECK) the following amd64-linux stack unwind kludges) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7124 --- diff --git a/coregrind/m_syswrap/syswrap-generic.c b/coregrind/m_syswrap/syswrap-generic.c index e086ef3898..2348c941e3 100644 --- a/coregrind/m_syswrap/syswrap-generic.c +++ b/coregrind/m_syswrap/syswrap-generic.c @@ -522,7 +522,7 @@ void ML_(record_fd_open_with_given_name)(ThreadId tid, Int fd, char *pathname) i->fd = fd; i->pathname = VG_(arena_strdup)(VG_AR_CORE, pathname); - i->where = (tid == -1) ? NULL : VG_(record_ExeContext)(tid); + i->where = (tid == -1) ? NULL : VG_(record_ExeContext)(tid, 0/*first_ip_delta*/); } // Record opening of an fd, and find its name.