* linux-low.h (struct process_info): Delete member tid, unused.
authorDoug Evans <dje@google.com>
Tue, 9 Dec 2008 18:52:20 +0000 (18:52 +0000)
committerDoug Evans <dje@google.com>
Tue, 9 Dec 2008 18:52:20 +0000 (18:52 +0000)
* thread-db.c (find_one_thread): Update.
(maybe_attach_thread): Update.

gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.h
gdb/gdbserver/thread-db.c

index b5afa51fb85b6641b5bb1efb84696ac7eb40c5b6..7deafacf2d5619dfc0a074d2bb7150d343ea87cc 100644 (file)
@@ -1,3 +1,9 @@
+2008-12-09  Doug Evans  <dje@google.com>
+
+       * linux-low.h (struct process_info): Delete member tid, unused.
+       * thread-db.c (find_one_thread): Update.
+       (maybe_attach_thread): Update.
+
 2008-12-02  Pedro Alves  <pedro@codesourcery.com>
 
         * target.h (struct target_ops): Add qxfer_osdata member.
index 78734e76b6973aac3fa0440f8da53d4bc61854a0..39a1d91ae1e5f21bf248b760788c5ce60f9b2013 100644 (file)
@@ -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 76900014eea8c1884b028b362ed551078438d9cf..d87f7263b1aab69848c4a07c4cb2fd0abd182419 100644 (file)
@@ -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_t *th_p, td_thrinfo_t *ti_p)
 
   process = inferior_target_data (inferior);
 
-  process->tid = ti_p->ti_tid;
   process->thread_known = 1;
   process->th = *th_p;