|
From: <sv...@va...> - 2005-05-18 22:56:03
|
Author: njn
Date: 2005-05-18 23:56:00 +0100 (Wed, 18 May 2005)
New Revision: 3772
Modified:
trunk/coregrind/linux/core_os.h
trunk/coregrind/m_syscalls/syscalls-x86-linux.c
Log:
Removed the clone_flags, parent_tidptr and child_tidptr flags, which were
written but never read, from os_thread_t.
Modified: trunk/coregrind/linux/core_os.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/linux/core_os.h 2005-05-18 22:42:24 UTC (rev 3771)
+++ trunk/coregrind/linux/core_os.h 2005-05-18 22:56:00 UTC (rev 3772)
@@ -104,11 +104,6 @@
Int lwpid; /* PID of kernel task */
Int threadgroup; /* thread group id */
=20
- /* how we were started */
- UInt clone_flags; /* flags passed to clone() to create this thread *=
/
- Int *parent_tidptr;
- Int *child_tidptr;
-
ThreadId parent; /* parent tid (if any) */
=20
/* runtime details */
Modified: trunk/coregrind/m_syscalls/syscalls-x86-linux.c
=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/syscalls-x86-linux.c 2005-05-18 22:42:24 U=
TC (rev 3771)
+++ trunk/coregrind/m_syscalls/syscalls-x86-linux.c 2005-05-18 22:56:00 U=
TC (rev 3772)
@@ -363,12 +363,9 @@
ctst->arch.vex.guest_ESP =3D esp;
=20
ctst->os_state.parent =3D ptid;
- ctst->os_state.clone_flags =3D flags;
- ctst->os_state.parent_tidptr =3D parent_tidptr;
- ctst->os_state.child_tidptr =3D child_tidptr;
=20
/* inherit signal mask */
- ctst->sig_mask =3D ptst->sig_mask;
+ ctst->sig_mask =3D ptst->sig_mask;
ctst->tmp_sig_mask =3D ptst->sig_mask;
=20
/* We don't really know where the client stack is, because its
|