Use ptid_t.tid to store thread ids instead of ptid_t.pid.
commit2dc38344f418c9abe65755308ef6db836a61103a
authorPedro Alves <palves@redhat.com>
Fri, 8 Aug 2008 13:16:17 +0000 (8 13:16 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 8 Aug 2008 13:16:17 +0000 (8 13:16 +0000)
treed1d3adeb9468793f4381c5a7eee9acef3986d2d0
parent85a8226582f922ebf485e6969e664ce03e6c52f3
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
gdb/windows-nat.c