OSDN Git Service

Use ptid_t.tid to store thread ids instead of ptid_t.pid.
authorpalves <palves>
Fri, 8 Aug 2008 13:16:16 +0000 (13:16 +0000)
committerpalves <palves>
Fri, 8 Aug 2008 13:16:16 +0000 (13:16 +0000)
commita7ce4643f7b573f3dc22dd1f73f381107ec06fa7
tree8e087a5476cc41ea15b260c593e26c79d9054a6e
parentd9b71b3edaadb5594566016bfb13fb773398d7cd
Use ptid_t.tid to store thread ids instead of ptid_t.pid.

* win32-nat.c (win32_add_thread): Change thread argument type to
ptid_t.  Adjust.
(win32_add_thread): Adjust.
(win32_delete_thread): Change thread argument type to ptid_t.
Adjust.
(win32_fetch_inferior_registers, win32_store_inferior_registers)
(win32_resume, get_win32_debug_event, get_win32_debug_event)
(win32_wait, win32_pid_to_exec_file, win32_pid_to_str): Adjust.
(init_win32_ops): Put to_magic last.
(win32_win32_thread_alive): Adjust.
gdb/ChangeLog
gdb/win32-nat.c