* inferiors.c (struct thread_info): Add gdb_id.
authorDaniel Jacobowitz <drow@false.org>
Wed, 13 Jul 2005 15:02:49 +0000 (15:02 +0000)
committerDaniel Jacobowitz <drow@false.org>
Wed, 13 Jul 2005 15:02:49 +0000 (15:02 +0000)
commita06660f79997c37a351afbce6ce75bd0c3de1276
treeb65b5cbc4f7cd4d3c25bba690da003c6605be6af
parent5a1f5858d43f5e99d8faa000263051a89ede63d4
* 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