* mi/mi-main.c (mi_cmd_execute): Choose a live thread not just
any thread.
+2012-04-24 Marc Khouzam <marc.khouzam@ericsson.com>
+
+ * mi/mi-main.c (mi_cmd_execute): Choose a live thread not just
+ any thread.
+
2012-04-13 Pierre Muller <muller@ics.u-strasbg.fr>
* p-typeprint.c (pascal_type_print_method_args):
This is not a problem -- frontend should always provide --thread if
it wishes to operate on a specific thread. */
if (inf->pid != 0)
- tp = any_thread_of_process (inf->pid);
+ tp = any_live_thread_of_process (inf->pid);
switch_to_thread (tp ? tp->ptid : null_ptid);
set_current_program_space (inf->pspace);
}