Warn users about mismatched PID namespaces
[deliverable/binutils-gdb.git] / gdb / nat / linux-procfs.h
index d13fff75df571719a00989e1c0e510d077dea6ac..5e2a9eadcb08f511c2a39431eb0d358cdfc8f1cb 100644 (file)
@@ -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 */
This page took 0.025443 seconds and 4 git commands to generate.