From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5563 invoked by alias); 8 Dec 2008 04:21:05 -0000 Received: (qmail 5548 invoked by uid 22791); 8 Dec 2008 04:21:04 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 08 Dec 2008 04:20:29 +0000 Received: from zps77.corp.google.com (zps77.corp.google.com [172.25.146.77]) by smtp-out.google.com with ESMTP id mB84KRHh032600 for ; Sun, 7 Dec 2008 20:20:27 -0800 Received: from localhost (ruffy.corp.google.com [172.18.118.116]) by zps77.corp.google.com with ESMTP id mB84KPlw029279 for ; Sun, 7 Dec 2008 20:20:26 -0800 Received: by localhost (Postfix, from userid 67641) id 9F59D1C7A13; Sun, 7 Dec 2008 20:20:25 -0800 (PST) To: gdb-patches@sourceware.org Subject: [RFA] remove struct process_info.tid Message-Id: <20081208042025.9F59D1C7A13@localhost> Date: Mon, 08 Dec 2008 04:21:00 -0000 From: dje@google.com (Doug Evans) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-12/txt/msg00144.txt.bz2 Hi. I can't find any place where process_info.tid is used. Ok to check in? 2008-12-07 Doug Evans * linux-low.h (struct process_info): Delete member tid, unused. * thread-db.c (find_one_thread): Update. (maybe_attach_thread): Update. Index: linux-low.h =================================================================== RCS file: /cvs/src/src/gdb/gdbserver/linux-low.h,v retrieving revision 1.23 diff -u -p -u -p -r1.23 linux-low.h --- linux-low.h 28 Feb 2008 05:54:09 -0000 1.23 +++ linux-low.h 8 Dec 2008 04:16:39 -0000 @@ -130,7 +130,6 @@ struct process_info struct thread_resume *resume; int thread_known; - unsigned long tid; #ifdef HAVE_THREAD_DB_H /* The thread handle, used for e.g. TLS access. Only valid if THREAD_KNOWN is set. */ Index: thread-db.c =================================================================== RCS file: /cvs/src/src/gdb/gdbserver/thread-db.c,v retrieving revision 1.15 diff -u -p -u -p -r1.15 thread-db.c --- thread-db.c 1 Jan 2008 22:53:14 -0000 1.15 +++ thread-db.c 8 Dec 2008 04:16:39 -0000 @@ -280,7 +280,6 @@ find_one_thread (int lwpid) return 0; process->thread_known = 1; - process->tid = ti.ti_tid; process->th = th; return 1; @@ -313,7 +312,6 @@ maybe_attach_thread (const td_thrhandle_ process = inferior_target_data (inferior); - process->tid = ti_p->ti_tid; process->thread_known = 1; process->th = *th_p;