mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 09:58:19 +08:00
* linux-low.h (struct process_info): Delete member tid, unused.
* thread-db.c (find_one_thread): Update. (maybe_attach_thread): Update.
This commit is contained in:
@ -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>
|
2008-12-02 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
* target.h (struct target_ops): Add qxfer_osdata member.
|
* target.h (struct target_ops): Add qxfer_osdata member.
|
||||||
|
@ -130,7 +130,6 @@ struct process_info
|
|||||||
struct thread_resume *resume;
|
struct thread_resume *resume;
|
||||||
|
|
||||||
int thread_known;
|
int thread_known;
|
||||||
unsigned long tid;
|
|
||||||
#ifdef HAVE_THREAD_DB_H
|
#ifdef HAVE_THREAD_DB_H
|
||||||
/* The thread handle, used for e.g. TLS access. Only valid if
|
/* The thread handle, used for e.g. TLS access. Only valid if
|
||||||
THREAD_KNOWN is set. */
|
THREAD_KNOWN is set. */
|
||||||
|
@ -280,7 +280,6 @@ find_one_thread (int lwpid)
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
process->thread_known = 1;
|
process->thread_known = 1;
|
||||||
process->tid = ti.ti_tid;
|
|
||||||
process->th = th;
|
process->th = th;
|
||||||
|
|
||||||
return 1;
|
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 = inferior_target_data (inferior);
|
||||||
|
|
||||||
process->tid = ti_p->ti_tid;
|
|
||||||
process->thread_known = 1;
|
process->thread_known = 1;
|
||||||
process->th = *th_p;
|
process->th = *th_p;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user