gdb/
[deliverable/binutils-gdb.git] / gdb / common / linux-procfs.h
index 130adeb14a72bdefb3dc95c13ce197fcdbbb481e..167b50706de0632ba575c8eaf630a9edfd3266a6 100644 (file)
 /* Return the TGID of LWPID from /proc/pid/status.  Returns -1 if not
    found.  */
 
-extern int linux_proc_get_tgid (int lwpid);
+extern int linux_proc_get_tgid (pid_t lwpid);
+
+/* Return the TracerPid of LWPID from /proc/pid/status.  Returns -1 if not
+   found.  */
+
+extern pid_t linux_proc_get_tracerpid (pid_t lwpid);
 
 /* Detect `T (stopped)' in `/proc/PID/status'.
    Other states including `T (tracing stop)' are reported as false.  */
This page took 0.024481 seconds and 4 git commands to generate.