* thread.c (thread_command) : Use it.
* infrun.c (normal_stop): Use it.
}
}
+void
+annotate_thread_changed (void)
+{
+ if (annotation_level > 1)
+ {
+ printf_unfiltered (("\n\032\032thread-changed\n"));
+ }
+}
+
void
annotate_field_begin (struct type *type)
{
target_terminal_ours_for_output ();
printf_filtered (_("[Switching to %s]\n"),
target_pid_to_str (inferior_ptid));
+ annotate_thread_changed ();
previous_inferior_ptid = inferior_ptid;
}
return;
}
+ annotate_thread_changed ();
gdb_thread_select (uiout, tidstr, NULL);
}