Remove usage of find_inferior in find_lwp_pid
authorSimon Marchi <simon.marchi@polymtl.ca>
Sun, 3 Dec 2017 01:36:38 +0000 (20:36 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sun, 3 Dec 2017 01:36:38 +0000 (20:36 -0500)
commit454296a2c1f3afe163e49730b9b396ffdd985e1f
treefec67a1963ae0a984951bdf40ab20411db80e395
parent6b2a85daf5a5c20c6d4832de1f19109d9e1cf17a
Remove usage of find_inferior in find_lwp_pid

Replace with find_thread.  We could almost use find_thread_ptid, except
that find_lwp_pid uses the pid of the input ptid of the lwp is 0, so the
behavior is not quite the same.

gdb/gdbserver/ChangeLog:

* linux-low.c (same_lwp): Remove.
(find_lwp_pid): Use find_thread.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c
This page took 0.023669 seconds and 4 git commands to generate.