thread when resuming for a new_thread_event.
+2009-06-29 Pedro Alves <pedro@codesourcery.com>
+
+ * infrun.c (handle_inferior_event): Context switch to the new
+ thread when resuming for a new_thread_event.
+
2009-06-29 Ulrich Weigand <uweigand@de.ibm.com>
* ada-lang.h (ada_convert_actual): Add GDBARCH argument.
in either the OS or the native code). Therefore we need to
continue all threads in order to make progress. */
+ if (!ptid_equal (ecs->ptid, inferior_ptid))
+ context_switch (ecs->ptid);
target_resume (RESUME_ALL, 0, TARGET_SIGNAL_0);
prepare_to_wait (ecs);
return;