diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2017-12-02 20:36:38 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2017-12-02 20:36:38 -0500 |
commit | 454296a2c1f3afe163e49730b9b396ffdd985e1f (patch) | |
tree | fec67a1963ae0a984951bdf40ab20411db80e395 /gdb/target-debug.h | |
parent | 6b2a85daf5a5c20c6d4832de1f19109d9e1cf17a (diff) | |
download | gdb-454296a2c1f3afe163e49730b9b396ffdd985e1f.zip gdb-454296a2c1f3afe163e49730b9b396ffdd985e1f.tar.gz gdb-454296a2c1f3afe163e49730b9b396ffdd985e1f.tar.bz2 |
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.
Diffstat (limited to 'gdb/target-debug.h')
0 files changed, 0 insertions, 0 deletions