* infrun.c (context_switch): Print debug message when switching to
a different thread.
+2011-09-22 Yao Qi <yao@codesourcery.com>
+
+ * infrun.c (context_switch): Print debug message when switching to
+ a different thread.
+
2011-09-21 Ulrich Weigand <uweigand@de.ibm.com>
* s390-tdep.c (s390_function_arg_pass_by_reference): Handle
static void
context_switch (ptid_t ptid)
{
- if (debug_infrun)
+ if (debug_infrun && !ptid_equal (ptid, inferior_ptid))
{
fprintf_unfiltered (gdb_stdlog, "infrun: Switching context from %s ",
target_pid_to_str (inferior_ptid));