diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-02-29 13:53:59 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-02-29 13:53:59 +0000 |
commit | 05e28a7bbf77a063303591ea3ba713c7a990264f (patch) | |
tree | 5ad8ea5e26960deb6831070ca2161a4dd08dc7a8 /gdb/procfs.c | |
parent | b241ba8eab18119f11a6c95f7e577045e535ad39 (diff) | |
download | ppe42-binutils-05e28a7bbf77a063303591ea3ba713c7a990264f.tar.gz ppe42-binutils-05e28a7bbf77a063303591ea3ba713c7a990264f.zip |
From Peter Schauer: Fix Solaris/x86 threads by copying linux code.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r-- | gdb/procfs.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c index b108078349..257de1291d 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; -} |