mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-18 16:53:50 +08:00
gdb/
* infrun.c (context_switch): Print debug message when switching to a different thread.
This commit is contained in:
@ -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));
|
||||
|
Reference in New Issue
Block a user