aboutsummaryrefslogtreecommitdiff
path: root/gdb/nat/linux-procfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/nat/linux-procfs.h')
-rw-r--r--gdb/nat/linux-procfs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/nat/linux-procfs.h b/gdb/nat/linux-procfs.h
index d13fff7..5e2a9ea 100644
--- a/gdb/nat/linux-procfs.h
+++ b/gdb/nat/linux-procfs.h
@@ -40,4 +40,10 @@ extern int linux_proc_pid_is_stopped (pid_t pid);
extern int linux_proc_pid_is_zombie (pid_t pid);
+/* Return an opaque string identifying PID's NS namespace or NULL if
+ * the information is unavailable. The returned string must be
+ * released with xfree. */
+
+extern char *linux_proc_pid_get_ns (pid_t pid, const char *ns);
+
#endif /* COMMON_LINUX_PROCFS_H */