|
From: <sv...@va...> - 2005-05-11 22:36:09
|
Author: njn Date: 2005-05-11 23:36:07 +0100 (Wed, 11 May 2005) New Revision: 3666 Modified: trunk/coregrind/core.h trunk/coregrind/m_syscalls/priv_syscalls.h Log: Make VG_(clone)() declaration private to m_syscalls. Modified: trunk/coregrind/core.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/coregrind/core.h 2005-05-11 22:32:39 UTC (rev 3665) +++ trunk/coregrind/core.h 2005-05-11 22:36:07 UTC (rev 3666) @@ -836,8 +836,6 @@ #define vgPlain_do_syscall5(s,a,b,c,d,e) VG_(do_syscall)((s),(a),(b),(= c),(d),(e),0) #define vgPlain_do_syscall6(s,a,b,c,d,e,f) VG_(do_syscall)((s),(a),(b),(= c),(d),(e),(f)) =20 -extern Int VG_(clone) ( Int (*fn)(void *), void *stack, Int flags, void = *arg,=20 - Int *child_tid, Int *parent_tid, vki_modify_ldt_t * ); extern void VG_(sigreturn)(void); =20 /* --------------------------------------------------------------------- Modified: trunk/coregrind/m_syscalls/priv_syscalls.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/coregrind/m_syscalls/priv_syscalls.h 2005-05-11 22:32:39 UTC (r= ev 3665) +++ trunk/coregrind/m_syscalls/priv_syscalls.h 2005-05-11 22:36:07 UTC (r= ev 3666) @@ -75,6 +75,9 @@ =20 extern void VGA_(restart_syscall)(ThreadArchState* arch); =20 +extern Int VG_(clone) ( Int (*fn)(void *), void *stack, Int flags, void = *arg,=20 + Int *child_tid, Int *parent_tid, vki_modify_ldt_t * ); + /* Perform a syscall on behalf of a client thread, using a specific signal mask. On completion, the signal mask is set to restore_mask |