gdb/
* infrun.c (context_switch): Print debug message when switching to a different thread.
This commit is contained in:
parent
4bafe00ecf
commit
4b51d87b48
2 changed files with 6 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue