diff options
Diffstat (limited to 'gdb/common/linux-procfs.h')
-rw-r--r-- | gdb/common/linux-procfs.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/common/linux-procfs.h b/gdb/common/linux-procfs.h index 130adeb..167b507 100644 --- a/gdb/common/linux-procfs.h +++ b/gdb/common/linux-procfs.h @@ -24,7 +24,12 @@ /* 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. */ |