This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Remove usage of find_inferior in last_thread_of_process_p
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Sat, 02 Dec 2017 23:22:01 -0500
- Subject: [binutils-gdb] Remove usage of find_inferior in last_thread_of_process_p
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT e4eb0dec0b9219a27ea6b9769f098fff34612779 ***
Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: e4eb0dec0b9219a27ea6b9769f098fff34612779
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.