aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/thread-db.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2008-12-09 18:52:20 +0000
committerDoug Evans <dje@google.com>2008-12-09 18:52:20 +0000
commite3b886f8c3d2a021351a7436fbffdc56be684cc1 (patch)
tree62a3649e42a8fd10d4da1ea94acecc7c374e1d41 /gdb/gdbserver/thread-db.c
parenta8111142cc46ecac5a27b59e59d09286aa7b7b35 (diff)
downloadgdb-e3b886f8c3d2a021351a7436fbffdc56be684cc1.zip
gdb-e3b886f8c3d2a021351a7436fbffdc56be684cc1.tar.gz
gdb-e3b886f8c3d2a021351a7436fbffdc56be684cc1.tar.bz2
* linux-low.h (struct process_info): Delete member tid, unused.
* thread-db.c (find_one_thread): Update. (maybe_attach_thread): Update.
Diffstat (limited to 'gdb/gdbserver/thread-db.c')
-rw-r--r--gdb/gdbserver/thread-db.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/gdbserver/thread-db.c b/gdb/gdbserver/thread-db.c
index 7690001..d87f726 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;