From: Doug Evans Date: Tue, 9 Dec 2008 18:52:20 +0000 (+0000) Subject: * linux-low.h (struct process_info): Delete member tid, unused. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e3b886f8c3d2a021351a7436fbffdc56be684cc1;p=binutils-gdb.git * linux-low.h (struct process_info): Delete member tid, unused. * thread-db.c (find_one_thread): Update. (maybe_attach_thread): Update. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index b5afa51fb85..7deafacf2d5 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,9 @@ +2008-12-09 Doug Evans + + * 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 * target.h (struct target_ops): Add qxfer_osdata member. diff --git a/gdb/gdbserver/linux-low.h b/gdb/gdbserver/linux-low.h index 78734e76b69..39a1d91ae1e 100644 --- a/gdb/gdbserver/linux-low.h +++ b/gdb/gdbserver/linux-low.h @@ -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. */ diff --git a/gdb/gdbserver/thread-db.c b/gdb/gdbserver/thread-db.c index 76900014eea..d87f7263b1a 100644 --- a/gdb/gdbserver/thread-db.c +++ b/gdb/gdbserver/thread-db.c @@ -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;