]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Removed the clone_flags, parent_tidptr and child_tidptr flags, which were
authorNicholas Nethercote <njn@valgrind.org>
Wed, 18 May 2005 22:56:00 +0000 (22:56 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Wed, 18 May 2005 22:56:00 +0000 (22:56 +0000)
written but never read, from os_thread_t.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3772

coregrind/linux/core_os.h
coregrind/m_syscalls/syscalls-x86-linux.c

index e1ead69e17d50c230c0f54e5c314ac197f758bc4..5720156f43a1723d251b410ad82e29cc063e25a9 100644 (file)
@@ -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 */
index 883b09cba972d7667801e6524918d727581f3e8c..1342181b7d89d0b99df08fcf537662c96e2521e8 100644 (file)
@@ -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