summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Griffin <peter.griffin@linaro.org>2016-09-28 19:58:44 +0100
committerPeter Griffin <peter.griffin@linaro.org>2016-09-28 19:58:44 +0100
commit0b37961a625e0ead59cb0f7692b025f534471173 (patch)
treef6f02e5bf3c6cf226ca3705d2b7485a2aecb59bd
parent1d556b19ac11fbecdcbc58179c0ca85e7b2cb22e (diff)
gdb/linux-kthread: Prefix threads running on CPU with a <C>
This makes it easier to see exactly what is running on the physical CPUs when the processor was halted. Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
-rw-r--r--gdb/linux-kthread.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/linux-kthread.c b/gdb/linux-kthread.c
index de72364e3c..fbd2d32732 100644
--- a/gdb/linux-kthread.c
+++ b/gdb/linux-kthread.c
@@ -1434,10 +1434,8 @@ linux_kthread_extra_thread_info (struct target_ops *self,
len = snprintf (msg, PRINT_CELL_SIZE, "pid: %li tgid: %i",
lkd_ptid_to_pid (PTID_OF (ps)), ps->tgid);
-#if 0
if (lkd_proc_is_curr_task (ps))
snprintf (msg + len, PRINT_CELL_SIZE - len, " <C%u>", ps->core);
-#endif
return msg;
}