Introduce linux_proc_pid_to_exec_file
[deliverable/binutils-gdb.git] / gdb / nat / linux-procfs.h
index c4f57885b1d0da60e99d818a897d9414a874f3bf..fdbf3838135f790aab76a1cc11e4713f7e05bc21 100644 (file)
@@ -73,4 +73,10 @@ extern void linux_proc_attach_tgid_threads (pid_t pid,
 /* Return true if the /proc/PID/task/ directory exists.  */
 extern int linux_proc_task_list_dir_exists (pid_t pid);
 
+/* Return the full absolute name of the executable file that was run
+   to create the process PID.  The returned value persists until this
+   function is next called.  */
+
+extern char *linux_proc_pid_to_exec_file (int pid);
+
 #endif /* COMMON_LINUX_PROCFS_H */
This page took 0.025057 seconds and 4 git commands to generate.