* [RFA] remove struct process_info.tid
@ 2008-12-08 4:21 Doug Evans
2008-12-08 14:19 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Doug Evans @ 2008-12-08 4:21 UTC (permalink / raw)
To: gdb-patches
Hi. I can't find any place where process_info.tid is used.
Ok to check in?
2008-12-07 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.
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;
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [RFA] remove struct process_info.tid
2008-12-08 4:21 [RFA] remove struct process_info.tid Doug Evans
@ 2008-12-08 14:19 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2008-12-08 14:19 UTC (permalink / raw)
To: Doug Evans; +Cc: gdb-patches
On Sun, Dec 07, 2008 at 08:20:25PM -0800, Doug Evans wrote:
> Hi. I can't find any place where process_info.tid is used.
>
> Ok to check in?
>
> 2008-12-07 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.
OK.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-08 14:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-08 4:21 [RFA] remove struct process_info.tid Doug Evans
2008-12-08 14:19 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox