summaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 72ff24d05ec..674a03ea5c4 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -758,7 +758,13 @@ record_currthread (currthread)
if (!in_thread_list (currthread))
{
add_thread (currthread);
+#ifdef UI_OUT
+ ui_out_text (uiout, "[New ");
+ ui_out_text (uiout, target_pid_to_str (currthread));
+ ui_out_text (uiout, "]\n");
+#else
printf_filtered ("[New %s]\n", target_pid_to_str (currthread));
+#endif
}
}