|
From: <sv...@va...> - 2009-05-22 07:59:35
|
Author: sewardj
Date: 2009-05-22 08:59:26 +0100 (Fri, 22 May 2009)
New Revision: 10104
Log:
Track core-tool iface changes (w.r.t. tool_{pre,post}_syscall)
committed in r10081/2.
Modified:
branches/DCAS/callgrind/main.c
branches/DCAS/exp-ptrcheck/h_main.c
branches/DCAS/exp-ptrcheck/h_main.h
Modified: branches/DCAS/callgrind/main.c
===================================================================
--- branches/DCAS/callgrind/main.c 2009-05-22 07:29:39 UTC (rev 10103)
+++ branches/DCAS/callgrind/main.c 2009-05-22 07:59:26 UTC (rev 10104)
@@ -867,7 +867,8 @@
#endif
static
-void CLG_(pre_syscalltime)(ThreadId tid, UInt syscallno)
+void CLG_(pre_syscalltime)(ThreadId tid, UInt syscallno,
+ UWord* args, UInt nArgs)
{
if (CLG_(clo).collect_systime) {
#if CLG_MICROSYSTIME
@@ -881,7 +882,8 @@
}
static
-void CLG_(post_syscalltime)(ThreadId tid, UInt syscallno, SysRes res)
+void CLG_(post_syscalltime)(ThreadId tid, UInt syscallno,
+ UWord* args, UInt nArgs, SysRes res)
{
if (CLG_(clo).collect_systime &&
CLG_(current_state).bbcc) {
Modified: branches/DCAS/exp-ptrcheck/h_main.c
===================================================================
--- branches/DCAS/exp-ptrcheck/h_main.c 2009-05-22 07:29:39 UTC (rev 10103)
+++ branches/DCAS/exp-ptrcheck/h_main.c 2009-05-22 07:59:26 UTC (rev 10104)
@@ -2113,7 +2113,8 @@
/*--- System calls ---*/
/*--------------------------------------------------------------------*/
-void h_pre_syscall ( ThreadId tid, UInt sysno )
+void h_pre_syscall ( ThreadId tid, UInt sysno,
+ UWord* args, UInt nArgs )
{
/* we don't do anything at the pre-syscall point */
}
@@ -2447,7 +2448,8 @@
}
-void h_post_syscall ( ThreadId tid, UInt sysno, SysRes res )
+void h_post_syscall ( ThreadId tid, UInt sysno,
+ UWord* args, UInt nArgs, SysRes res )
{
Word i, n;
UWordPair* pair;
Modified: branches/DCAS/exp-ptrcheck/h_main.h
===================================================================
--- branches/DCAS/exp-ptrcheck/h_main.h 2009-05-22 07:29:39 UTC (rev 10103)
+++ branches/DCAS/exp-ptrcheck/h_main.h 2009-05-22 07:59:26 UTC (rev 10104)
@@ -82,8 +82,10 @@
void h_post_reg_write_clientcall(ThreadId tid, PtrdiffT guest_state_offset,
SizeT size, Addr f );
-void h_pre_syscall ( ThreadId tid, UInt syscallno );
-void h_post_syscall ( ThreadId tid, UInt syscallno, SysRes res );
+void h_pre_syscall ( ThreadId tid, UInt syscallno,
+ UWord* args, UInt nArgs );
+void h_post_syscall ( ThreadId tid, UInt syscallno,
+ UWord* args, UInt nArgs, SysRes res );
/* Note that this also does the sg_ instrumentation. */
IRSB* h_instrument ( VgCallbackClosure* closure,
|