aboutsummaryrefslogtreecommitdiff
path: root/gdb/procfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r--gdb/procfs.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c
index b108078..257de12 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -5254,20 +5254,3 @@ procfs_first_available ()
else
return -1;
}
-
-int
-procfs_get_pid_fd (pid)
- int pid;
-{
- procinfo *pi;
-
- if (pid == -1 && inferior_pid != 0)
- pi = find_procinfo (PIDGET (inferior_pid), 0);
- else
- pi = find_procinfo (PIDGET (pid), 0);
-
- if (pi)
- return pi->ctl_fd;
- else
- return -1;
-}