As per subjects, this patch makes win32-nat use ptid_t.tid for thread ids, instead of ptid_t.pid, so the core can know which process a thread belongs to just by looking at the ptid. Tested on i686-pc-cygwin, no changes. OK? -- Pedro Alves