]> Git Repo - binutils.git/blobdiff - gdb/windows-nat.c
Don't write to inferior_ptid in windows-nat.c, part I
[binutils.git] / gdb / windows-nat.c
index c3a4bdc0d473085d525781630e8ca099df4782d2..19bc52bbbb6dc1481033911e56c9e5d5b9b421b9 100644 (file)
@@ -2019,12 +2019,6 @@ do_initial_windows_stuff (struct target_ops *ops, DWORD pid, int attaching)
   inferior_appeared (inf, pid);
   inf->attach_flag = attaching;
 
-  /* Make the new process the current inferior, so terminal handling
-     can rely on it.  When attaching, we don't know about any thread
-     id here, but that's OK --- nothing should be referencing the
-     current thread until we report an event out of windows_wait.  */
-  inferior_ptid = ptid_t (pid);
-
   target_terminal::init ();
   target_terminal::inferior ();
 
This page took 0.022729 seconds and 4 git commands to generate.