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 linux_detach
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Sat, 02 Dec 2017 23:41:04 -0500
- Subject: [binutils-gdb] Remove usage of find_inferior in linux_detach
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 798a38e8de5f0fb5f7b17ae757b2bf4c5139c023 ***
Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 798a38e8de5f0fb5f7b17ae757b2bf4c5139c023
Remove usage of find_inferior in linux_detach
Replace with for_each_thread with pid filtering.
gdb/gdbserver/ChangeLog:
* linux-low.c (linux_detach_lwp_callback): Return void, remove
args parameter, don't check for pid.
(linux_detach): Use for_each_thread.