* infrun.c (context_switch): Print debug message when switching to
	a different thread.
This commit is contained in:
Yao Qi 2011-09-22 02:58:31 +00:00
parent 4bafe00ecf
commit 4b51d87b48
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -2852,7 +2852,7 @@ nullify_last_target_wait_ptid (void)
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));