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_mourn
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Sun, 03 Dec 2017 00:11:35 -0500
- Subject: [binutils-gdb] Remove usage of find_inferior in linux_mourn
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 6b2a85daf5a5c20c6d4832de1f19109d9e1cf17a ***
Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 6b2a85daf5a5c20c6d4832de1f19109d9e1cf17a
Remove usage of find_inferior in linux_mourn
Replace with for_each_thread with pid filtering. The callback becomes
trivial enough that it's better to inline it.
gdb/gdbserver/ChangeLog:
* linux-low.c (delete_lwp_callback): Remove.
(linux_mourn): Use for_each_thread.