aboutsummaryrefslogtreecommitdiff
path: root/gdb/common/linux-procfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/common/linux-procfs.h')
-rw-r--r--gdb/common/linux-procfs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/common/linux-procfs.h b/gdb/common/linux-procfs.h
index a4ba4a1..c1e5547 100644
--- a/gdb/common/linux-procfs.h
+++ b/gdb/common/linux-procfs.h
@@ -26,4 +26,9 @@
extern int linux_proc_get_tgid (int 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);
+
#endif /* COMMON_LINUX_PROCFS_H */