Change regcache list to be an hash map
[deliverable/binutils-gdb.git] / gdb / go32-nat.c
index d1e508cc78073666dc28e2a10c8c6bacf9cbe5dc..8ffd28985abf3d60a9fd772b0c6ba9827771dc35 100644 (file)
@@ -753,14 +753,14 @@ go32_nat_target::create_inferior (const char *exec_file,
   save_npx ();
 #endif
 
-  inferior_ptid = ptid_t (SOME_PID);
   inf = current_inferior ();
   inferior_appeared (inf, SOME_PID);
 
   if (!target_is_pushed (this))
     push_target (this);
 
-  add_thread_silent (inferior_ptid);
+  thread_info *thr = add_thread_silent (ptid_t (SOME_PID));
+  switch_to_thread (thr);
 
   clear_proceed_status (0);
   insert_breakpoints ();
This page took 0.023573 seconds and 4 git commands to generate.