#endif
current_event.dwProcessId = pid;
memset (¤t_event, 0, sizeof (current_event));
+ inf = current_inferior ();
if (!target_is_pushed (this))
- push_target (this);
+ inf->push_target (this);
disable_breakpoints_in_shlibs ();
windows_clear_solib ();
clear_proceed_status (0);
windows_set_segment_register_p (i386_windows_segment_register_p);
}
- inf = current_inferior ();
inferior_appeared (inf, pid);
inf->attach_flag = attaching;