OSDN Git Service

* inferiors.c (struct thread_info): Add gdb_id.
authorDaniel Jacobowitz <dan@debian.org>
Wed, 13 Jul 2005 15:02:49 +0000 (15:02 +0000)
committerDaniel Jacobowitz <dan@debian.org>
Wed, 13 Jul 2005 15:02:49 +0000 (15:02 +0000)
commit9582bfeef4fa973e11c2e8375d5f5b2879add19b
tree410509d2fdf706ac17de2b11de04e4a060568e39
parent90e2d78a8e7c46c21b3818f6ecdbc5ffd9209bdb
* inferiors.c (struct thread_info): Add gdb_id.
(add_thread): Add gdb_id argument.
(thread_id_to_gdb_id, thread_to_gdb_id, gdb_id_to_thread_id): New.
* linux-low.c (linux_create_inferior, linux_attach_lwp): Update
calls to add_thread.
* remote-utils.c (prepare_resume_reply: Use thread_to_gdb_id.
* server.c (handle_query): Use thread_to_gdb_id.
(handle_v_cont, main): Use gdb_id_to_thread_id.
* server.h (add_thread): Update prototype.
(thread_id_to_gdb_id, thread_to_gdb_id, gdb_id_to_thread_id): New
prototypes.
gdb/gdbserver/ChangeLog
gdb/gdbserver/inferiors.c
gdb/gdbserver/linux-low.c
gdb/gdbserver/remote-utils.c
gdb/gdbserver/server.c
gdb/gdbserver/server.h