Display names of remote threads
[deliverable/binutils-gdb.git] / gdb / nat / linux-procfs.h
index f9cad39562c66bd92f275328b6192f15538ff30a..f28c1ba344e6c397d608d1e0cfef161166f1679e 100644 (file)
@@ -54,6 +54,13 @@ extern int linux_proc_pid_is_zombie_nowarn (pid_t pid);
 
 extern int linux_proc_pid_is_gone (pid_t pid);
 
+/* Return a string giving the thread's name or NULL if the
+   information is unavailable.  The returned value points to a statically
+   allocated buffer.  The value therefore becomes invalid at the next
+   linux_proc_tid_get_name call.  */
+
+extern const char *linux_proc_tid_get_name (ptid_t ptid);
+
 /* Callback function for linux_proc_attach_tgid_threads.  If the PTID
    thread is not yet known, try to attach to it and return true,
    otherwise return false.  */
This page took 0.024503 seconds and 4 git commands to generate.