diff options
author | midipix <writeonce@midipix.org> | 2019-09-07 22:30:50 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-09-08 01:49:33 +0000 |
commit | d19562d81ff75e4538d47a4c91066f6accd0b0a1 (patch) | |
tree | 0d7007fc113e35e3cf867de77e21a2ef2acbc9fa /overlay | |
parent | 48ca0a1dd29f9c45e152f64c2e51b82c61d0c190 (diff) | |
download | chainport-d19562d81ff75e4538d47a4c91066f6accd0b0a1.tar.bz2 chainport-d19562d81ff75e4538d47a4c91066f6accd0b0a1.tar.xz |
mgdb: removed winnt_pfd_from_pid() [--> winnt_process_record()].
Diffstat (limited to 'overlay')
-rw-r--r-- | overlay/mgdb/gdb/winnt-nat.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/overlay/mgdb/gdb/winnt-nat.c b/overlay/mgdb/gdb/winnt-nat.c index bf997c9..0d26dcb 100644 --- a/overlay/mgdb/gdb/winnt-nat.c +++ b/overlay/mgdb/gdb/winnt-nat.c @@ -93,18 +93,6 @@ static void winnt_plist_remove (pid_t pid) } } -static int winnt_pfd_from_pid (pid_t pid) -{ - winnt_process * pdbg; - winnt_process * pcap; - - for (pdbg=plist, pcap=&plist[pcnt]; pdbg<pcap; pdbg++) - if (pdbg->pid == pid) - return pdbg->pfd; - - return -1; -} - static struct winnt_process * winnt_process_record(pid_t pid) { winnt_process * pdbg; |