From: Nicholas Nethercote Date: Wed, 18 May 2005 22:56:00 +0000 (+0000) Subject: Removed the clone_flags, parent_tidptr and child_tidptr flags, which were X-Git-Tag: svn/VALGRIND_3_0_0~546 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=efe555f4fa22d3452b5f7c7cbb34516cf4e979b5;p=thirdparty%2Fvalgrind.git Removed the clone_flags, parent_tidptr and child_tidptr flags, which were written but never read, from os_thread_t. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3772 --- diff --git a/coregrind/linux/core_os.h b/coregrind/linux/core_os.h index e1ead69e17..5720156f43 100644 --- a/coregrind/linux/core_os.h +++ b/coregrind/linux/core_os.h @@ -104,11 +104,6 @@ typedef struct { Int lwpid; /* PID of kernel task */ Int threadgroup; /* thread group id */ - /* 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) */ /* runtime details */ diff --git a/coregrind/m_syscalls/syscalls-x86-linux.c b/coregrind/m_syscalls/syscalls-x86-linux.c index 883b09cba9..1342181b7d 100644 --- a/coregrind/m_syscalls/syscalls-x86-linux.c +++ b/coregrind/m_syscalls/syscalls-x86-linux.c @@ -363,12 +363,9 @@ static Int do_clone(ThreadId ptid, ctst->arch.vex.guest_ESP = esp; ctst->os_state.parent = ptid; - ctst->os_state.clone_flags = flags; - ctst->os_state.parent_tidptr = parent_tidptr; - ctst->os_state.child_tidptr = child_tidptr; /* inherit signal mask */ - ctst->sig_mask = ptst->sig_mask; + ctst->sig_mask = ptst->sig_mask; ctst->tmp_sig_mask = ptst->sig_mask; /* We don't really know where the client stack is, because its