diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2017-12-02 20:36:36 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2017-12-02 20:36:36 -0500 |
commit | e4eb0dec0b9219a27ea6b9769f098fff34612779 (patch) | |
tree | 4be79db80558ea13f54e438d174570785a87707a /gdb/target-debug.h | |
parent | 83e1b6c13a285b4e1e852e1647667f09bb26892b (diff) | |
download | gdb-e4eb0dec0b9219a27ea6b9769f098fff34612779.zip gdb-e4eb0dec0b9219a27ea6b9769f098fff34612779.tar.gz gdb-e4eb0dec0b9219a27ea6b9769f098fff34612779.tar.bz2 |
Remove usage of find_inferior in last_thread_of_process_p
Replace it with find_thread. I also modified the code a bit to use a
lambda and a boolean.
gdb/gdbserver/ChangeLog:
* linux-low.c (struct counter): Remove.
(second_thread_of_pid_p): Remove.
(last_thread_of_process_p): Use find_thread.
Diffstat (limited to 'gdb/target-debug.h')
0 files changed, 0 insertions, 0 deletions