Fix usage of inferior_ptid in two thread_alive implementations
[deliverable/binutils-gdb.git] / gdb / go32-nat.c
index 3e9e99f068c6c338c52b498e245cc21c2e6c7406..1fca8e2e53f83e236260e984dc803825bb60781c 100644 (file)
@@ -938,7 +938,7 @@ go32_terminal_ours (struct target_ops *self)
 static int
 go32_thread_alive (struct target_ops *ops, ptid_t ptid)
 {
-  return !ptid_equal (inferior_ptid, null_ptid);
+  return !ptid_equal (ptid, null_ptid);
 }
 
 static char *
This page took 0.023718 seconds and 4 git commands to generate.