From: Julian Seward Date: Sat, 21 Apr 2012 15:35:12 +0000 (+0000) Subject: (post-tchain-merge cleanup): fix call to handle_syscall on x86-darwin. X-Git-Tag: svn/VALGRIND_3_8_0~344 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=efa16bac8069957c108483c656374682250eefb6;p=thirdparty%2Fvalgrind.git (post-tchain-merge cleanup): fix call to handle_syscall on x86-darwin. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12524 --- diff --git a/coregrind/m_scheduler/scheduler.c b/coregrind/m_scheduler/scheduler.c index c42dd0f0c3..66d4f83720 100644 --- a/coregrind/m_scheduler/scheduler.c +++ b/coregrind/m_scheduler/scheduler.c @@ -1454,7 +1454,7 @@ VgSchedReturnCode VG_(scheduler) ( ThreadId tid ) /* return address in client edx */ VG_(threads)[tid].arch.vex.guest_EIP = VG_(threads)[tid].arch.vex.guest_EDX; - handle_syscall(tid, trc); + handle_syscall(tid, trc[0]); # else vg_assert2(0, "VG_(scheduler), phase 3: " "sysenter_x86 on non-x86 platform?!?!");