| Index: gdb/common/linux-procfs.h
|
| diff --git a/gdb/common/linux-procfs.h b/gdb/common/linux-procfs.h
|
| index a4ba4a1b48db5e809ba7848b7ae3774cb937dbfc..167b50706de0632ba575c8eaf630a9edfd3266a6 100644
|
| --- a/gdb/common/linux-procfs.h
|
| +++ b/gdb/common/linux-procfs.h
|
| @@ -24,6 +24,20 @@
|
| /* 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. */
|
| +
|
| +extern int linux_proc_pid_is_stopped (pid_t pid);
|
| +
|
| +/* Return non-zero if PID is a zombie. */
|
| +
|
| +extern int linux_proc_pid_is_zombie (pid_t pid);
|
|
|
| #endif /* COMMON_LINUX_PROCFS_H */
|
|
|