* linux-nat.h (linux_proc_get_tgid): Declare.
[deliverable/binutils-gdb.git] / gdb / linux-nat.h
index 5c17425f37bcf4f3d2a386cc9b249076b2c2ec04..d1ed6fcbf13c842225194b73c286ff22bd2644f3 100644 (file)
@@ -99,6 +99,10 @@ int thread_db_attach_lwp (ptid_t ptid);
 /* Find process PID's pending signal set from /proc/pid/status.  */
 void linux_proc_pending_signals (int pid, sigset_t *pending, sigset_t *blocked, sigset_t *ignored);
 
+/* Return the TGID of LWPID from /proc/pid/status.  Returns -1 if not
+   found.  */
+extern int linux_proc_get_tgid (int lwpid);
+
 /* linux-nat functions for handling fork events.  */
 extern void linux_enable_event_reporting (ptid_t ptid);
 
This page took 0.025063 seconds and 4 git commands to generate.